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

# Connect your systems

> A checklist of everything Datafold connects to for a migration, with links to the setup guide for each system.

A migration needs Datafold connected to four things: your code, your legacy system, your target system and your LLM provider, over a network path that reaches them. Single sign-on is optional. Work through this list with your technical owner before kick-off. Work on the migration starts once all four connections work. See [Before kick-off](https://docs.datafold.com/migrations/before-kickoff.md).

> [!TIP]
>
> Use a dedicated service user for every system. Shared or personal accounts get rotated, locked, or offboarded mid-project.

A scratch schema is a schema where Datafold creates temporary tables. In the database setup guides, you enter it in the connection form's **Schema path for temporary tables** field. Some databases label the field slightly differently, for example **Dataset path for temporary tables** on BigQuery.

## Checklist

**1. Connect your code repository**

Give Datafold read access to every repository in scope and write access to the target repository, so your delivery team can open pull requests and run CI on them.

Find the setup guide for your code host under **Code repositories** in the sidebar.

**2. Connect your legacy system**

Create a service user with read on all in-scope data and objects and write to a scratch schema, then add the connection in Datafold.

Find the setup guide for your platform under **Databases** in the sidebar.

**3. Connect your target system**

Create a service user with read on the source data loaded into the target and write to a scratch schema, then add the connection in Datafold.

Find the setup guide for your platform under **Databases** in the sidebar.

**4. Open a network path**

If your systems aren't reachable from the internet, allow Datafold's egress IP addresses or set up private connectivity. Customer-hosted deployments use their own static egress IP.

[Securing connections](https://docs.datafold.com/security/securing-connections.md) · [AWS PrivateLink](https://docs.datafold.com/security/aws_privatelink_setup.md)

**5. Connect your LLM provider**

Add the endpoint and credentials of an LLM provider your organization has approved. Datafold runs all LLM inference on your provider, so your data stays inside your security perimeter.

[LLM providers](https://docs.datafold.com/integrations/llm-providers.md)

**6. Set up sign-in for your team (optional)**

Invite your team, or connect your identity provider so they sign in with SSO.

[Single sign-on](https://docs.datafold.com/security/single-sign-on.md) · [User roles and permissions](https://docs.datafold.com/security/user-roles-and-permissions.md)

## Test each connection

Test each connection when you add it. Most connection forms have a **Test** button, and an LLM provider is tested when you save it. If a test fails, post the error in your shared channel or email [support@datafold.com](mailto:support@datafold.com). Most connection errors are a missing grant or a blocked IP address.


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