databaseAdd a database

circle-info

Target Audience: Non technical users

Goal

Connect a PostgreSQL, MySQL, or Google BigQuery database/warehouse to Toucan.ai to enable metadata analysis and chart creation.


Prerequisites

  • A verified Toucan.ai account.

  • An active organization.

  • Valid credentials/connection details depending on the selected connector:

    • PostgreSQL/MySQL: Host, Database Name, Username, Password, Port, and SSL settings.

    • BigQuery: A Google service account credentials JSON file.

  • Network access granted to Toucan.ai static IPs (see Supported Databases).


Steps

1. Navigate to the Database Section

  • Click the Database tab from the Toucan.ai home page.

  • View the list of currently connected databases.

2. Initialize the Connection

  • Click the Add a database button in the top-right corner.

  • Select a connector from the available list (PostgreSQL, Google BigQuery, MySQL).

Add a database

3. Input Connection Details

  • Enter a Name to identify the connection internally.

  • Then provide the details required by your connector:

PostgreSQL

  • Host address (e.g., database.mycompany.com)

  • Port (default: 5432)

  • Database name (e.g., analytics)

  • Username and Password

  • SSL toggle based on your security requirements

Add a PostgreSQL database

BigQuery

  • Upload your Google service account credentials JSON file (credentials format depends on your service account)

  • The form will load fields such as project_id, client_email, and the private key from the JSON

If you need to review or edit values, you can open View raw credentials (collapsible section) inside the form.

MySQL

  • Host address

  • Port (default: 3306)

  • User and Password

  • Charset

  • Database name

  • SSL Mode

  • If SSL Mode is enabled, fill in SSL CA, SSL Cert, and SSL Key.

4. Validate and Save

  • Click Test Connection to verify that the credentials and network settings are valid.

  • Wait for the success notification.

  • Click Connect to save the configuration to your organization.

HR Database
circle-exclamation

Conclusion

The database is now connected and visible in your organization's database list. You may proceed to analyze the data with AI to generate metadata descriptions.

Suggested Next Steps: How-to: Analyse your database with AI

Last updated

Was this helpful?