# Databricks

1. Select **Create** for an **external HTTP connection** in **Unity Catalog**

{% hint style="info" %}
Make sure to select **OAuth User to Machine Per User**
{% endhint %}

<figure><img src="https://815455107-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0SWnT1NcjBiPxnUvPcqE%2Fuploads%2FLXiYGq7t7cuhND1JvOTM%2FScreenshot%202025-12-22%20at%208.00.06%E2%80%AFPM.png?alt=media&#x26;token=94cd552c-4612-4547-81dc-33c3b85c8e41" alt=""><figcaption></figcaption></figure>

2. Next, configure the same Authentication credentials as those provided to Trustlogix when registering the Databricks Agent.&#x20;

{% hint style="info" %}
Note: These authentication fields are for retrieving the **user's** OAuth token. As such, OAuth scope should be with respect to **user** scopes (rather than the scope for the **agent**)
{% endhint %}

<figure><img src="https://815455107-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0SWnT1NcjBiPxnUvPcqE%2Fuploads%2FAaMbEHsxY1oTt3TH6yRE%2FScreenshot%202025-12-23%20at%2011.54.52%E2%80%AFAM.png?alt=media&#x26;token=af1bb0ef-9799-47fd-bacc-8cdd818db7a2" alt=""><figcaption></figcaption></figure>

3. Then, configure the corresponding token endpoint. For base path, follow the pattern to include tenant and agent ids. Check the MCP connection box, and select Header Only for exchange method.

<figure><img src="https://815455107-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0SWnT1NcjBiPxnUvPcqE%2Fuploads%2FdpYeiGbZOVinlW8tA9Pi%2FScreenshot%202025-12-23%20at%201.28.24%E2%80%AFPM.png?alt=media&#x26;token=688e63f2-30f3-4173-bf1b-906ea174cd0d" alt=""><figcaption></figcaption></figure>

4. Users can login/retrieve credentials for the connection and use it as an external MCP server tool source for their agents.&#x20;

<figure><img src="https://815455107-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0SWnT1NcjBiPxnUvPcqE%2Fuploads%2Fim6RfCy9suH58EMbQTIA%2FScreenshot%202025-12-23%20at%201.30.30%E2%80%AFPM.png?alt=media&#x26;token=8e6a78f1-7eec-4957-8f4b-f66be56e952a" alt=""><figcaption></figcaption></figure>
