Prerequisites: Installed SDK · API key set · Python 3.10+. The
vectorshift CLI ships with the SDK — pip install vectorshift installs it.Mental model
- An Integration is created once and reused. It carries a stable
object_id, atype(e.g.slack), a healthstatus, and — for OAuth types —authorized_scopes. - The CLI is the fastest way to connect interactively (it opens the browser and blocks for you); the SDK is for programmatic and server-side flows. Both do the same thing.
Two ways to authenticate
How you connect a service depends entirely on how it authenticates. There are exactly two modes:| OAuth | Form | |
|---|---|---|
| How you connect | Approve access on the provider’s site in a browser | Supply credentials yourself (host, keys, tokens) |
| Browser needed? | Yes — a consent screen | No |
| When it’s ready | After you finish consent (connect().wait() polls until then) | Instantly (connect().wait() returns right away) |
| Count | 60 services | 16 services |
| Examples | Slack, Gmail, Notion, Google Drive, HubSpot, Salesforce, Jira, GitHub | Postgres, MySQL, MongoDB, Snowflake, AWS S3, Pinecone, Elasticsearch, Twilio |
Connect an integration
The quickest path is the CLI. The Python SDK does exactly the same thing when you need it in code — pick the auth mode that matches your service.- CLI (recommended)
- Python — OAuth
- Python — form credentials
Where integrations plug in
An Integration is rarely the endpoint — you connect it, then reference it from another primitive:| Surface | How to reference it | Guide |
|---|---|---|
| Agent tool | Pass the Integration (static binding) or a ToolInput(DYNAMIC) (caller supplies it) to an IntegrationXTool | Integration tools |
| Pipeline node | pipeline.add(name="…").integration_slack(integration=integ, …) | Integration nodes |
| Knowledge Base source | Attach in the dashboard, then integration.resync() or kb.resync_integration(id) to refresh | Resync integration |
Manage what you’ve connected
What’s next
CLI reference
Every
vectorshift command, flag, and example.Python reference
Integration, ConnectionRequest, types, credentials, errors.Use in an Agent
Bind a connected integration to an agent tool.
