# 4. Connect to Snowflake

This step is optional. Connect to your database to run queries or deploy tables, views, functions, and procedures. The database connection is not required for fixing conversion issues in the IDE.

In this step, you will be able to choose between connecting your Snowflake account now or do it  later.&#x20;

<figure><img src="/files/47LW71pNSNEws2Pf5FdU" alt=""><figcaption></figcaption></figure>

1. When you click on "Set up connection later." you can continue to the next step by clicking continue or clicking the next tab in the wizard.

<figure><img src="/files/NJb3XBi0hSmBK6df2nfT" alt=""><figcaption></figcaption></figure>

2\. When you select "Set up connection now." you only need to provide some information in the connection form:

![](/files/wjkaLSKmWKxrtzbX4aap)

**1.    Database Connection Name:** This name will only be used to save your connection and allow you to identify your connection in BDS.

**2.    Account:** The Account is the bold text you see when clicking on your Snowflake username information (found in the top right corner).

<div align="center"><img src="/files/9P9Cg8Elgy6ZjTDnQSIy" alt=""></div>

**3.    Database:** The database is shown in the dropdown menu below

![](/files/UcvWmCIFAsFXYFSSDY4O)

**4.    Role:** The role is the text below your username

![](/files/rCFrPwlgEOgBy10yAhRz)

**5.    Warehouse:** The warehouse is shown in the dropdown menu below:

![](/files/boojQiLaU6yK7MIQKJI1)

6\.     **Schema:** The schema is shown in the dropdown menu below:

![](/files/zux4pteMlYKjdu1Sz5AN)

7\.     **Snowflake Credentials:** Enter your Snowflake credentials to connect to the database you have provided. Your username can be found in the Snowflake IDE top right corner.

![](/files/Ls8MlECco2zjL9Iw8foK)

8\.  The last step is to click on the **Connect Database** button and your connection will be saved:

![](/files/5AN1MnprfVAqcabYAd3x)


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.gapvelocity.ai/blackdiamond-studio-or-mobilize.net/blackdiamond-studio-documentation/bds-portal/creating-my-first-project/4.-connect-to-snowflake.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
