Project Auth Init
Set up Agentuity Auth for your project
Prerequisites
- Authenticated with
agentuity auth login
- Organization context required (
--org-id or default org)
Usage
agentuity project auth init [options]
Options
| Option |
Type |
Required |
Default |
Description |
--skipMigrations |
boolean |
Yes |
- |
Skip running database migrations (run agentuity project auth generate later) |
Examples
Set up Agentuity Auth with database selection:
bunx @agentuity/cli project auth init
Output
Returns JSON object:
{
"success": "boolean",
"database": "string",
"authFileCreated": "boolean",
"migrationsRun": "boolean"
}
| Field |
Type |
Description |
success |
boolean |
Whether setup succeeded |
database |
string |
Database name used |
authFileCreated |
boolean |
Whether auth.ts was created |
migrationsRun |
boolean |
Whether migrations were run |