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).
✓ 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 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.
Generate a long-lived shareable connect link and return immediately (does not wait for completion). Prints the link and
session_id. [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.
object_id, type, status, name — one per line, or No integrations found.:
status
Show a single integration’s health status.
done, loading, or unhealthy.
sync
Trigger a metadata resync (refresh available tables, files, etc.). Supported for revamped integration types. Fire-and-forget.
✓ sync requested
reauth
Reconnect an existing integration in place to refresh expired or revoked auth. Keeps the same object_id.
✓ reconnected slack (integ_abc123).
disconnect
Delete an integration.
✓ disconnected
What’s next
Python reference
The
Integration API each command wraps.Overview
Mental model and where integrations plug in.
