/ flydocs connect
Connect an existing FlyDocs project to the cloud portal.
Synopsis
flydocs connect [flags]
Upgrades a local-tier FlyDocs project to cloud by adding authentication
and connecting to your workspace. Requires an existing
.flydocs/config.json in the project — run
flydocs init --tier local first if you don't have one.
Options
| Flag | Type | Default | Description |
|---|---|---|---|
--path | string | cwd | Project directory containing .flydocs/config.json. |
--here | boolean | false | Use the current directory. |
--local-source | boolean | false | Use local templates instead of server templates. For development only. |
--key | string | -- | API key (fdk_...). Skips the interactive prompt. |
What It Does
- Validates that
.flydocs/config.jsonexists in the target directory - Prompts for API key (or uses
--key) and validates it against the relay API - Stores the API key globally at
~/.flydocs/credentialsfor the FlyDocs CLI to use across projects - Updates tier from
localtocloudin the project config and links it to your cloud workspace - Suggests
flydocs updatenext to refresh server-managed skill scripts for the workspace
Use this when you started with flydocs init --tier local
and are ready to connect to the cloud for issue tracking, project management,
and team sync.
Examples
Connect the current directory interactively:
flydocs connect --here Connect with an API key directly:
flydocs connect --here --key fdk_abc123 Connect a project in a different directory:
flydocs connect --path ./my-project Related Commands
flydocs init: Full initialization (installs and connects in one step)flydocs auth: Store an API key globally without modifying a projectflydocs upgrade: Learn about cloud tier benefits before connecting