Connecting External Databases

Fastn gives users the ability to either connect their flows to their externally managed databases or to the fastn DB available on the platform.

How to Connect to an External Database

You can connect to external databases in Fastn using database connectors. These allow you to run SQL queries within your flows or interact directly with external databases.

Ways to Add a Database Connector

There are two primary ways to add a database connection:

  1. From Within a Flow

    • While building a flow, drag in a Connector element.

    • Select the Database option.

    • Choose an existing database or click to add a new one.

  2. From the Databases Page

    • Navigate to the Databases page using the left sidebar.

    • Click Add New Database.

    • Select the type of database you'd like to connect to (e.g., PostgreSQL, MySQL, Fastn DB, etc.).

Setting Up the Connection

Once you’ve chosen the database type:

  • Fill in the required configuration fields (e.g., host, port, username, password, database name).

  • Click Save to finalize the connection.

Last updated

Was this helpful?