Bruin CLI Step 2 of 2
Notion to PostgreSQL
1) Configure connections
Make sure you have your Notion API credentials and PostgreSQL credentials ready.
You can add connections interactively:
bruin connections add
Or edit .bruin.yml directly:
environments:
default:
connections:
postgres:
- name: "my-postgres"
host: "your-host"
port: 5432
database: "your-database"
username: "your-username"
password: "your-password"
notion:
- name: "my-notion"
api_key: "your-notion-api-key"
Test each connection to make sure they work:
bruin connections test --name my-postgres
bruin connections test --name my-notion