> ## Documentation Index
> Fetch the complete documentation index at: https://docs.base44.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Setting up data connectors

> Connect Snowflake and Databricks to query and work with external data while building apps.

Add data connectors to query and work with external data from Snowflake and Databricks while building apps.

Snowflake and Databricks data connectors are set up at the workspace level and can be used across apps in that workspace. You can add them from your workspace settings, from your app dashboard, or directly from the AI chat in a specific app.

<Columns cols={2}>
  <Card title="Snowflake" icon="snowflake" href="/Integrations/snowflake-connector">
    Connect Snowflake to query and work with data from your Snowflake account while building apps.
  </Card>

  <Card title="Databricks" icon="database" href="/Integrations/databricks-connector">
    Connect Databricks to query and work with data from your Databricks account while building apps.
  </Card>
</Columns>

<Card title="Before you begin" type="tip">
  Prepare the data platform details for Snowflake or Databricks before adding the connector in Base44. See [Preparing connector details](#preparing-connector-details).
</Card>

<Note>
  Access depends on your workspace setup and the permissions available in Snowflake or Databricks.
</Note>

***

## Preparing connector details

Before adding a data connector in Base44, create or open the OAuth app or integration settings in Snowflake or Databricks. The exact setup depends on the data platform. Make sure you have access to the Snowflake or Databricks account you want to connect.

Add the Base44 redirect URI to the OAuth app or integration settings, then copy the connector details into Base44.

**To prepare connector details:**

1. Create or open your OAuth app or integration settings in Snowflake or Databricks.
2. Add the Base44 redirect URI to the OAuth app or integration settings: `https://app.base44.com/api/external-auth/callback`
3. Copy the **Client ID**.
4. Copy the **Client Secret**.
5. Prepare the **Scopes** your app needs.

<Warning>
  Treat your Client Secret like a password. Do not share it with others or include it in screenshots.
</Warning>

***

## Adding a data connector in Base44

Once you have your data platform details, add the data connector from your workspace settings, from your app dashboard, or from the AI chat in a specific app.

### Adding the connector from your workspace

Add the connector from your workspace settings and enter the required details.

**To add a connector from your workspace:**

1. Click your profile icon.
2. Click **Account settings**.
3. Click **Connectors**.
4. Under **Connectors For App Builders**, find the connector you want to add.
5. Click **Add** next to the connector.
6. Click **View redirect URIs**.
7. Add the redirect URIs to your OAuth app or integration settings if you have not already.
8. Enter the connector details requested by Base44.
9. Click **Add Connector**.

### Adding the connector from the dashboard

You can browse available connectors from your app dashboard and use ready-made prompts to start building with Snowflake or Databricks.

**To add a connector from the dashboard:**

1. Go to your app's dashboard.
2. Click **Integrations**.
3. Click **Browse**.
4. Search for **Snowflake** or **Databricks**.
5. Click **Use** on the connector card.
6. Click an example prompt to add it to the **AI chat**, then edit it if needed.
7. Follow the prompts in the AI chat.
8. If the connector is not set up yet, enter the connector details requested by Base44.
9. Click **Connect**.

### Adding the connector using the AI chat

You can also start from the AI chat in the app where you want to use the data connector.

**To add a connector from the AI chat:**

1. Open the app where you want to use the data connector.
2. Open the **AI chat**.
3. Describe what you want to build with Snowflake or Databricks.
4. Follow the prompts in the AI chat.
5. If the connector is not set up yet, enter the connector details requested by Base44.
6. Click **Connect**.

<Note>
  When adding a connector from the dashboard or AI chat, keep following the prompts until Base44 asks you to enter the connector details and approve the connection.
</Note>

***

## Using a data connector in your app

Once the connector is set up, prompt the AI chat in the app you want to use it in to build a feature with that connector.

**Example prompts:**

```text theme={null}
Connect Snowflake and create a dashboard from my warehouse data.
```

```text theme={null}
Query Snowflake to show sales trends by region.
```

```text theme={null}
Connect Databricks and create a dashboard from my workspace data.
```

```text theme={null}
Query Databricks to show product usage trends.
```

You can ask the AI chat to create pages, dashboards, reports, summaries, or workflows that use the connected data platform.

***

## Viewing data connectors

You can view data connectors from your workspace connector settings.

**To view data connectors:**

1. Click your profile icon.
2. Click **Account settings**.
3. Click **Connectors**.
4. Find **Snowflake** or **Databricks** in the connectors list.

***

## FAQs

<AccordionGroup>
  <Accordion title="Which data platforms can I connect?">
    You can connect Snowflake and Databricks as data connectors.
  </Accordion>

  <Accordion title="How are data connectors different from shared and app user connectors?">
    * **Data connectors** connect your workspace to a data platform like Snowflake or Databricks so you can query and work with external data while building apps.
    * **Shared connectors** use one connected account for everyone in your app.
    * **App user connectors** let each person using your app connect their own account.
  </Accordion>

  <Accordion title="Where do I find the connector details to enter?">
    You get the Client ID, Client Secret, scopes, and details specific to the data platform from the OAuth app or integration settings in Snowflake or Databricks.
  </Accordion>

  <Accordion title="Where do I find the Base44 redirect URIs?">
    Click **View redirect URIs** in the connector setup form. Add the redirect URIs shown in Base44 to your Snowflake or Databricks settings.
  </Accordion>

  <Accordion title="Do people using my app need to connect Snowflake or Databricks themselves?">
    No. Data connectors are set up at the workspace level so you can work with external data while building apps. Use app user connectors when each person using your app needs to connect their own account.
  </Accordion>

  <Accordion title="Can I start setup from the AI chat?">
    Yes. You can start from the AI chat in a specific app. If the connector is not set up yet, Base44 asks for the connector details before continuing.
  </Accordion>

  <Accordion title="What should I do if I do not see Snowflake or Databricks?">
    Confirm that you are working in the correct workspace and that connectors are available for your workspace. If you still do not see the connector, [contact support](/Community-and-support/Contacting-support).
  </Accordion>

  <Accordion title="Where can I find all available connectors?">
    See the [connectors catalog](/Integrations/connectors-catalog) to browse available connectors, categories, example prompts, and access details.
  </Accordion>
</AccordionGroup>
