docs/integrations/app-connections/external-infisical.mdx
Infisical supports connecting to a remote Infisical instance using a Machine Identity (Universal Auth). This enables you to sync secrets from one Infisical project to another — for example, from your cloud instance to a self-hosted deployment.
- **Instance URL**: The base URL of the remote Infisical instance (e.g., `https://infisical.example.com`).
- **Machine Identity Client ID**: The Client ID copied in a previous step.
- **Machine Identity Client Secret**: The Client Secret copied in a previous step.

</Step>
<Step title="Connection Created">
Your **Infisical Connection** is now available for use in Secret Syncs.

</Step>
</Steps>
</Tab>
<Tab title="API">
To create an Infisical Connection, make an API request to the [Create Infisical Connection](/api-reference/endpoints/app-connections/external-infisical/create) API endpoint.
### Sample request
```bash Request
curl --request POST \
--url https://app.infisical.com/api/v1/app-connections/external-infisical \
--header 'Content-Type: application/json' \
--data '{
"name": "my-infisical-connection",
"method": "machine-identity-universal-auth",
"credentials": {
"instanceUrl": "https://infisical.example.com",
"machineIdentityClientId": "<client-id>",
"machineIdentityClientSecret": "<client-secret>"
}
}'
```
### Sample response
```bash Response
{
"appConnection": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "my-infisical-connection",
"version": 1,
"orgId": "6f03caa1-a5de-43ce-b127-95a145d3464c",
"createdAt": "2025-04-01T05:31:56Z",
"updatedAt": "2025-04-01T05:31:56Z",
"app": "external-infisical",
"method": "machine-identity-universal-auth",
"credentials": {
"instanceUrl": "https://infisical.example.com",
"machineIdentityClientId": "<client-id>"
}
}
}
```
</Tab>