# Data & Storage

Data handling in Fastn lets you connect, store, and manage data within your flows using the Fastn DB or any external database. Whether you're storing Slack messages, running SQL queries, or connecting to cloud databases like PostgreSQL or Redshift, Fastn gives you full control over your data pipeline.

> You can create new tables directly within the platform, manage connections to external databases, and use database flow elements to execute dynamic queries in real time.

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Connect to the Fastn DB</strong></td><td>Learn how to create tables, write SQL queries, and store flow data in the Fastn database.</td><td><a href="/pages/m90BBYOId4MP5cQXpyL6">/pages/m90BBYOId4MP5cQXpyL6</a></td></tr><tr><td><strong>Connecting External Databases</strong></td><td>Connect your flows to external databases securely and manage database operations within Fastn.</td><td><a href="/pages/OJQVwE4DHpkWMTizqaAZ">/pages/OJQVwE4DHpkWMTizqaAZ</a></td></tr></tbody></table>


---

# 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.fastn.ai/flow-setup-essentials/data-and-storage.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.
