Databricks pat steps

In the Databricks workspace:

  1. Open the user menu (avatar, top right) → Settings.
  2. Go to Developer → Access tokens → Manage.
    • Wording can vary by deployment; see the PAT documentation for your cloud.
  3. Choose Generate new token.
  4. Optionally set a comment and a lifetime (days until expiry).
  5. Under Scope, choose Other APIs (not BI Tools).
  6. In API scope(s), add all of these:

    API scope
    access-management
    apps
    clusters
    custom-llms
    genie
    jobs
    knowledge-assistants
    mlflow
    model-serving
    scim
    sql
    supervisor-agents
    unity-catalog
    vector-search

    mlflow and scim are required when trace collection is enabled (TRACE_COLLECTION_ENABLED=true) — for MLflow traces and for resolving user identities in trace metadata.

    Note

    If required scopes are not visible in the API scopes list, create the token using all APIs.

  7. Click Generate, then copy the token once while it is shown. It usually starts with dapi.