# Connecting Cascade to your database

## Overview

Cascade allows you to connect directly to your database. Many databases are publicly accessible when hosted by services such as Amazon Web Services, Google Cloud Platform and Microsoft Azure. However, databases hosted in private networks might need extra configuration. Please follow this guide to allow access from any our import and publish tools.

## Requirements

To allow Cascade to connect directly to your database, it must:

* Be publicly accessible via the internet
* Be allowed to accept incoming connections from Cascade's IP addresses

Your database may need to whitelist Cascade's IP addresses. All connections from Cascade will originate from one of these IP addresses:

```
35.86.19.102/32
54.190.249.116/32
```

## How to connect

In order to bring data to a workflow from a database, you need an integration. To add a new integration, follow this guide:

1. Navigate to the Integrations section in a workspace.
2. If needed, whitelist the IP addresses listed above.
3. Click on **New Integration**.
4. Select your integration type and fill out the information needed. You can find more details for each integration type in the sections below.
5. Click **Test and Save**.


---

# 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.cascade.io/cascade/integrations/connecting-cascade-to-your-database.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.
