Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Data connections

Connect Zerve to your databases and data platforms.

A data connection stores the details Zerve needs to reach a database or data platform, so your notebooks and agents can query it without anyone pasting credentials into code.

Supported connections

Connection
How it signs in

Username and password

Username and password

Username and password

Username with a password or a key pair

Access token

Google service account key

Username and password

Username and password

API key (optional)

Client ID and secret

Creating a connection

1

Open Connections

Go to Assets → Connections, and create a new connection.

2

Choose the type and name it

Choose the connection type, and give it a name. See Naming rules.

3

Enter the details

Fill in the details for that type of connection. See the page for your connection type.

4

Attach it to a notebook

Attach the connection to the notebooks that need it.

Naming rules

A connection's name is how it's referred to in code, so it must be a valid name in code:

  • Start with a letter or underscore

  • Use only letters, numbers and underscores

  • Up to 255 characters

Valid
Not valid

prod_warehouse

prod-warehouse (hyphen)

snowflake_research

Snowflake Research (space)

_staging

2024_data (starts with a number)

Using a connection in a notebook

Attach the connection to a notebook to use it there. A connection can be attached to many notebooks, and the connection's page shows every notebook using it.

When you attach a connection, you can give it an alias: a different name to use in that notebook.

Credentials stay hidden

Passwords, tokens and keys are never shown back to anyone after you save them, including the person who created the connection. They're only passed to your code when a block runs.

Connecting to databases with IP allowlists

If your database only accepts connections from approved IP addresses, it needs to allow Zerve's outbound IP address. If your organization runs Zerve in its own AWS account, this is your account's NAT gateway IP. See AWS QuickStart.

Last updated

Was this helpful?