Skip to main content
Create Connection
DefineNavigate ato Project → Connections → New Connection in the SWAIN dashboard.
- Fill in the connection
toform pointwith tothe afollowing 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
foryou eachwant stageto connect to.
- Username & Password: credentials with read/write permissions (
development,tenant staging,scoping production)may add columns).
ProvideTips:
database details such as type (e.g., PostgreSQL or MySQL), host, port, database name, and user credentials.
- Use read/write
credentialscredentials; andSWAIN ensuremay add columns when tenant scoping is enabled.
- If your
firewalldatabase allowsis accessbehind a firewall, make sure to allow egress from the SWAIN platform.platform IPs.
OnceClick created,Create to save the connectionconnection; appearsit will appear in your projectproject.
- Security Note: Ensure your database credentials are stored securely and
cancomply bewith usedyour fororganization’s schemasecurity syncing and API generation.policies.