# Databricks

Allows you to configure Databricks as a destination for Inforiver writeback.&#x20;

When you get to the 'Add Destination' page, you have the option of using basic or OAuth authentication. If you choose basic authentication, you will need to enter the following information:

* Host Name
* Warehouse ID
* Access Token
* Catalog
* Schema
* Table Name

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2Fsb9E9xhaGMvfCvtKlpTV%2Fimage.png?alt=media&#x26;token=a5ef4c1a-881e-4d5e-904a-0602ed1c2226" alt=""><figcaption><p>Configuring a databricks destination</p></figcaption></figure>

You can also use OAuth-type authentication to log in that ensures a simple and secure login process. The example below illustrates adding a Databricks destination to an existing integration using OAuth-type authentication.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FLCzhhAAy6nJ4l5npMH9L%2Fimage.png?alt=media&#x26;token=347f921f-723f-42a0-9385-740a6af0f943" alt=""><figcaption><p>OAuth type authentication for Databricks destination</p></figcaption></figure>

#### - Fetching the hostname

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2Fl2qr0N5GubjW29mNMKnV%2Fimage.png?alt=media&#x26;token=f074f016-0382-44d9-8bad-6d9d86899554" alt=""><figcaption><p>Fetching the hostname</p></figcaption></figure>

#### - Fetching the warehouse ID

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FtLAHhS5nkYg7nuybJNzs%2Fimage.png?alt=media&#x26;token=3eb3ebdd-7232-4242-98ae-00fac23134b2" alt=""><figcaption><p>Fetching the warehouse ID</p></figcaption></figure>

#### **- Generating the personal access token**

**STEP 1:** Open Settings > Select Developer under user settings > Click Manage in the  Access Tokens section.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FwwvZIa9krsh4RUHOVRDG%2Fimage.png?alt=media&#x26;token=0198eaca-e900-45a3-be66-92830a177828" alt=""><figcaption><p>Settings option</p></figcaption></figure>

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FxU3tBGXWPpseMg82cnYE%2Fimage.png?alt=media&#x26;token=ad877aee-ba83-4531-938a-ce81da2db8bd" alt=""><figcaption><p>Developer settings and access tokens</p></figcaption></figure>

**STEP 2:** Click **Generate new token**.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FPIuaTCaPl8RQSeBF00Ti%2Fimage.png?alt=media&#x26;token=7af61646-ed16-4623-ae67-6fb70d07ea66" alt=""><figcaption><p>Generate new token option</p></figcaption></figure>

If required, enter the token validity.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2F1utNiEkq9j2caaBWY0kt%2Fimage.png?alt=media&#x26;token=5a7bcd98-2fc8-4056-8fbe-f7201bc1dade" alt=""><figcaption><p>Enter token validity</p></figcaption></figure>

**STEP 3:** Copy the generated token and enter it in the destination config.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2F5qPuCHjwJYQt8bYbnO0y%2Fimage.png?alt=media&#x26;token=e630828c-1759-4656-b7e8-3c6706c1bceb" alt=""><figcaption><p>Copy the generated token and enter it in the destination config</p></figcaption></figure>

#### - Fetch the catalog and schema name

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FD0uB9QQwISW97iWZJsMw%2Fimage.png?alt=media&#x26;token=25171a89-8b1e-41e9-98cf-6e79c3264936" alt=""><figcaption><p>Fetching the catalog and schema name</p></figcaption></figure>
