Configure access: Personal Access Token (PAT)
Learn how to configure access with Option B - Personal Access Token (PAT)
Ensure you have created a SQL warehouse.
Collect connection information and create an access token for the data transfer service.
- In the SQL Warehouses console, select the SQL warehouse you created in Create a SQL warehouse.
- Click the Connection Details tab, and make a note of the Server hostname, Port, and HTTP path.
- Click the link to create a personal access token.
- Click Generate New Token.
- Name the token with a descriptive comment and assign the token lifetime. A longer lifetime will ensure you do not have to update the token as often. Click Generate.
- In the pop up that follows, copy the token and securely save the token.
You may prefer to create a Service Principal with a PAT to use for authentication instead of using your account's Personal Access Token. For more information, refer to Use a Service Principal with Service Account PAT.
- In the Databricks UI, select the Catalog tab, and select the target Catalog. Within the catalog Permissions tab, click Grant. In the following modal, select the principal for which you generated the access token, select
USE CATALOG, and click Grant. - Under the target Catalog, select the target schema (for example,
main.default, or create a new target schema). Within the schema Permissions tab, click Grant. In the following modal, select the principal for which you generated the access token, and select eitherALL PRIVILEGESor the following nine privileges and then click Grant:USE SCHEMAAPPLY TAGMODIFYREAD VOLUMESELECTWRITE VOLUMECREATE MATERIALIZED VIEWCREATE TABLECREATE VOLUME
Note: IP Access Lists (optional)If your workspace enforces Databricks IP Access Lists, allowlist the static egress IP(s) used by the data transfer service so connections and test sessions can open successfully. See Databricks documentation: Databricks IP Access Lists.
Cloud Hosted (US):
35.192.85.117/32Cloud Hosted (EU):
104.199.49.149/32
If private-cloud or self-hosted, contact support for the static egress IP.
You must add the destination.