vectorshift CLI is a thin wrapper over the SDK for connecting and managing integrations from the terminal. Every command maps directly to an Integration method.
Install
The CLI ships with the SDK — no extra needed:vectorshift command alongside the Python library.
Authentication
Runlogin once to store a key, or set VECTORSHIFT_API_KEY in your environment. Every command resolves the key in this order (first match wins):
--api-keyflag on the commandVECTORSHIFT_API_KEYenvironment variable~/.vectorshift/config.toml(written byvectorshift login)vectorshift.api_keyset in Python
No API key found. Run 'vectorshift login' or set VECTORSHIFT_API_KEY.
The config file is minimal:
Commands
login
Store an API key in ~/.vectorshift/config.toml.
--api-key, it opens https://app.vectorshift.ai/settings/keys in your browser and prompts you to paste the key (input hidden).
Store this key directly, without opening the browser or prompting.
Don’t open the browser; just print the keys URL and prompt for the paste.
✓ Saved API key to /Users/you/.vectorshift/config.toml
connect
Connect an integration. Without --cred, opens a hosted page to enter credentials / consent (works for form, OAuth, and hybrid types) and blocks until it completes; with --cred, does an instant form-based create from the CLI.
Integration type. Accepts the route name (lowercase, e.g.
slack, postgres, google-drive) or the display name (e.g. Slack). See Integration.types() for the catalogue.A custom name for this integration instance.
Space-separated OAuth scopes to request (OAuth types only).
A form credential. Repeat for multiple fields. When present, the integration is created instantly from the CLI with no browser. Omit to enter credentials / consent in the hosted page instead.
Print the connect URL instead of opening it, then wait for completion.
Generate a long-lived shareable connect link and return immediately (does not wait for completion). Prints the link and
session_id.Link time-to-live in seconds (use with
--share).Override the resolved API key for this command.
[pending], then on success:
✓ connected slack (integ_abc123). With --share: Shareable link: <url> and session_id: <id>.
integrations list
List your integrations, optionally filtered by type.
Filter by integration type (e.g.
slack, postgres).Override the resolved API key.
object_id, type, status, name — one per line, or No integrations found.:
status
Show a single integration’s health status.
The integration’s
object_id.Override the resolved API key.
done, loading, or unhealthy.
sync
Trigger a metadata resync (refresh available tables, files, etc.). Supported for revamped integration types. Fire-and-forget.
The integration’s
object_id.Override the resolved API key.
✓ sync requested
reauth
Reconnect an existing integration in place to refresh expired or revoked auth. Keeps the same object_id.
The integration’s
object_id.Print the reconnect URL instead of opening it, then wait.
Override the resolved API key.
✓ reconnected slack (integ_abc123).
disconnect
Delete an integration.
The integration’s
object_id.Override the resolved API key.
✓ disconnected
What’s next
Python reference
The
Integration API each command wraps.Overview
Mental model and where integrations plug in.
