create_database
Connect a new data source to ALTR with keypair or password authentication. Supports Snowflake, Databricks, and OLTP databases.
Instructions
Connect a new data source to the ALTR platform.
Supports two authentication modes:
Service user (keypair auth — recommended for Snowflake): Provide
service_user_idfromget_service_users. No password, hostname, or port needed.Password auth: Provide
database_username,database_password,hostname, anddatabase_port.
After creation, use get_databases to confirm the connection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| friendly_database_name | Yes | Display name for the database in ALTR. | |
| database_type | Yes | Database type (e.g. "snowflake_external_functions"). | |
| database_name | Yes | Actual database name (e.g. "MY_DATABASE_NAME"). | |
| service_user_id | No | Service user ID from `get_service_users` for keypair auth. Preferred for Snowflake connections. | |
| database_username | No | Username (password auth only). | |
| database_password | No | Password (password auth only). | |
| hostname | No | Database server hostname (password auth only). | |
| database_port | No | Database server port (password auth only). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||