> For the complete documentation index, see [llms.txt](https://docs.inforiver.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inforiver.com/working-with-inforiver/12.-data-writeback/destinations/databricks.md).

# 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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;token=25171a89-8b1e-41e9-98cf-6e79c3264936" alt=""><figcaption><p>Fetching the catalog and schema name</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.inforiver.com/working-with-inforiver/12.-data-writeback/destinations/databricks.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
