> For the complete documentation index, see [llms.txt](https://docs.erathos.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.erathos.com/platform/connect-to-databases.md).

# Connect to databases

{% hint style="info" %}
Make sure to include our IP address (**35.212.87.86**) to your firewall’s whitelist.
{% endhint %}

To connect to a database—whether as a [source](/platform/connections.md) or a [destination](/destinations/azure-sql-server.md)—you need to ensure that the database is accessible from the **Erathos infrastructure**. To establish this connection:

1. **Firewall Configuration**:
   * Allow the Erathos IP (e.g., **35.212.87.86**) in your database's firewall settings. This step ensures that the infrastructure can reach your database.
2. **Tunneling Credentials**:
   * If the connection requires a tunnel (e.g., SSH or VPN), make sure the tunnel credentials are properly registered on the platform.
   * This involves providing the necessary details such as host, port, username, and private key (if applicable).

{% embed url="<https://www.tella.tv/video/cm432m0eu000j03mhent878p0/embed?a=0&b=0&loop=0&muted=0&t=0&title=0&wt=0>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.erathos.com/platform/connect-to-databases.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.
