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

# Snowflake

> Connecting Fabi.ai to your [Snowflake](https://www.snowflake.com/) instance.

<Warning>
  Before connecting, ensure that you whitelist Fabi.ai's IP addresses in your firewall or security group settings:

  * `3.232.60.87`
  * `54.172.255.171`
</Warning>

# Creating a service account user

Creating a service user account in Snowflake involves setting up a user with programmatic access for tasks like automation, integration, or API-based operations.

## 1. Log in to Snowflake

* Access your Snowflake account through the [Snowflake Web Interface](https://app.snowflake.com/).
* Use your administrator credentials.

## 2. Navigate to the Admin Section

Go to the **Admin** tab or click on **Account Settings** from the top-right profile menu.

## 3. Create the Service User

Use the following SQL command to create a new service user account:

```sql theme={null}
CREATE USER service_user_name
PASSWORD = 'YourStrongPassword'
DEFAULT_ROLE = service_role
DEFAULT_WAREHOUSE = service_warehouse
MUST_CHANGE_PASSWORD = FALSE;
```

Replace:

* service\_user\_name with a descriptive username (e.g., api\_service\_user).
* service\_role with the default role you want to assign (e.g., read\_only\_role).
* service\_warehouse with the default warehouse for the user.

# Connecting Snowflake to Fabi.ai

Once you've generated your service user credentials, follow the steps in [Connecting to Your Data](/getting_started/connect_data_sources)
<Tip>For information about our industry-leading security practices, check out our [Security hub](https://www.fabi.ai/security).</Tip>
