For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Docs Menu

agentengine atlas profile save

Save the Atlas profile and project selected for this workspace.

Save the Atlas profile and project selected for this workspace.

Run without --input in an interactive terminal to configure the profile with prompts: profile name, service account client ID, masked client secret, then the Atlas organization and project to bind. Stored credentials are reused without re-prompting. With --json, prompts go to stderr and stdout stays machine-readable.

For automation, pass --json and --input (- for stdin, or a file path). Outside an interactive terminal, --json is required.

agentengine atlas profile save [flags]
--base-url string Platform base URL
--context string Named context to target (see 'agentengine context list')
-h, --help help for save
--input string Project binding request JSON. Prefer --input - for stdin (required on macOS and Windows). On Linux, path files must be temporary, owner-only, untracked, deleted after use, and rotated if exposed
--json Output saved project binding as JSON
--org-id string Organization ID
--project-id string Project ID
--workspace string Monorepo: save Atlas project access for a specific workspace by name
--workspace-id string Workspace ID
--log-file string override log file path
--log-level string file log verbosity (error|warn|info|debug) (default "info")
--no-log disable file logging
-q, --quiet silence stderr below error
-v, --verbose count raise stderr verbosity (-v info, -vv debug)
Rate this page