Skip to main content

Create Connection

  • Navigate to Project → Connections → New Connection in the SWAIN dashboard.
  • Fill in the connection form with the following required fields:
    • Stage: choose Development, Staging, or Production.
    • DB Type: e.g., PostgreSQL, MySQL, etc.
    • Host & Port: specify your database server’s hostname and port.
    • Database Name: name of the specific database you want to connect to.
    • Username & Password: credentials with read/write permissions (tenant scoping may add columns).
  • Tips:
    • Use read/write credentials; SWAIN may add columns when tenant scoping is enabled.
    • If your database is behind a firewall, make sure to allow egress from the SWAIN platform IPs.
  • Click Create to save the connection; it will appear in your project.
  • Security Note: Ensure your database credentials are stored securely and comply with your organization’s security policies.