> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect integrations | Agent guide

> Check provider access, connect an org account, and verify the selected tool.

[Human guide: task steps and agent prompt →](https://deepline.com/docs/human/integrations.md)

Check the action you want to use before connecting an account. Some tools use
Deepline-managed access; others require your org's provider credentials.

## Who can manage integrations?

Org **owners and admins** can connect, change credentials, enable or
disable, and disconnect integrations. **Members** can use available org
connections, subject to the selected action's access requirements; ask an owner
or admin to change the setup. These permissions apply in the web app, CLI, SDK,
and API. Provider authorization also requires access to the provider account.

## Check the org and tool

Use a tool ID returned by search:

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline org status --json
deepline tools describe <tool-id> --json
```

Confirm the intended org, then inspect `connected`, `credentialStatus`,
and `byok`. Required BYOK means the tool needs your own provider account;
optional BYOK allows managed access when no account is connected. If the tool
lists a `byok` feature, read its setup instructions with
`deepline describe <tool-id> --feature byok`.

## Connect the account

> [tab] Web app
>
> 1. Have an owner or admin select the intended org and open
>    [Integrations](https://code.deepline.com/dashboard/integrations).
> 2. Search for the provider and choose **Connect**. Complete its
>    authorization flow or credential form, including every required field.
> 3. Check the connection's status and use **Test** where offered. Resolve any
>    reconnect or validation error, then return to the agent to verify access.
>
> Follow the connection form for required scopes and specialized
> authorization methods. A browser sign-in to the provider still
> needs to finish the Deepline connection flow.

> [tab] CLI credential file
>
> For providers that accept credential fields, have an owner or admin supply
> a private JSON file containing the required field names and string values.
> For example, Icypeas requires both `api_key` and `api_secret`:
>
> ```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
> deepline tools connect icypeas --credentials-file ./icypeas-credentials.json --json
> ```
>
> Replace the provider and filename for your connection. Check
> `deepline tools connect --help` for the command contract. A successful
> response contains `credential_saved: true`; this confirms storage, so
> verify provider access separately below.
>
> Use the web app for browser authorization. SDK automation can save supported
> credential fields with `client.setIntegrationCredentials(provider, credentials)`;
> the [provider credential reference](https://deepline.com/docs/features/bring-your-own-keys.md) documents
> the corresponding API payload.

## Verify access

Describe the same tool again in the same org. Check `connected` and any
credential error. A successful connection applies only to the actions and access
modes that support it. For a live check, review the tool's inputs and pricing
before running a small request; saving credentials alone does not run a lookup.

If a request fails with an authorization or scope error, resolve that access
failure before retrying. Report it separately from a valid no-match result.

> [!TIP]
>
> Keep credentials in the connection form or a private credential file, outside
> chat, Play source, and version control. Setting a provider key in your local
> shell does not connect it to the hosted org.

> [accordion] Before replacing or disconnecting a provider
>
> 1. Inventory dependent Plays, Monitors, identifiers, joins, field meanings,
>    rate limits, permissions, and managed/BYOK requirements.
> 2. Compare providers on the same dated records and acceptance rule, including
>    regional coverage and identity inputs. Measure additional accepted results
>    and recorded usage; preserve the original output as the baseline.
> 3. Verify replacement access, then switch consumers and check their results.
>    Preserve source and observation time on existing values, and keep a rollback
>    path until the dependent workflows pass.
> 4. Review remaining consumers before retiring the old connection. Provider
>    agreements and data-use permissions remain your team's responsibility.

## CRM integrations

For Affinity, Attio, HubSpot, Pipedrive, Salesforce, or Zoho CRM, check the
connection's availability and the selected action's current contract.
Connection access does not authorize arbitrary record changes. Use
[Repair CRM records](https://deepline.com/docs/guides/crm-data-quality-automation.md) for destination IDs, HubSpot
properties, Attio attributes, approved changes, and read-back.

## Connection availability

A saved connection grants only the actions exposed by the public tool catalog.
Google Sheets OAuth can connect an account that owns or can edit a sheet; share
that sheet with the connected account when needed. It currently exposes no
public `google_sheets_*` actions. Use [CSV input](https://deepline.com/docs/sdk-v2/batch-csv.md) or the
[Database](https://deepline.com/docs/database-access.md) for a callable Deepline data workflow.

Specialized credential procedures are in the shared reference:
[Meta system user token](https://deepline.com/docs/features/bring-your-own-keys.md#meta-audiences) and
[external Postgres/Supabase](https://deepline.com/docs/features/bring-your-own-keys.md#external-postgres).

## Related guides

* [Provider credential reference](https://deepline.com/docs/features/bring-your-own-keys.md)
* [Sequencer integrations](https://deepline.com/docs/features/email-sequencer-integration.md)
* [Waterfall enrichment](https://deepline.com/docs/features/waterfall-enrichment.md)

Next, [Choose a prebuilt Play](https://deepline.com/docs/sdk-v2/prebuilt-plays.md) for the task you want to run.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.