mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Add docs for API setup Vercel Connection
This commit is contained in:
@@ -32,23 +32,62 @@ Infisical supports connecting to Vercel using an API Token to securely sync your
|
|||||||
You should now see your newly created token in the list of API tokens on the Vercel dashboard.
|
You should now see your newly created token in the list of API tokens on the Vercel dashboard.
|
||||||

|

|
||||||
</Step>
|
</Step>
|
||||||
<Step title="Navigate to App Connections">
|
<Step title="Setup Vercel Connection in Infisical">
|
||||||
In your Infisical dashboard, go to **Organization Settings** and select the **App Connections** tab.
|
<Tabs>
|
||||||

|
<Tab title="Infisical UI">
|
||||||
</Step>
|
1. Navigate to App Connections
|
||||||
<Step title="Add Connection">
|
In your Infisical dashboard, go to **Organization Settings** and select the **App Connections** tab.
|
||||||
Click the **+ Add Connection** button and select the **Vercel Connection** option from the available integrations.
|

|
||||||

|
2. Add Connection
|
||||||
</Step>
|
Click the **+ Add Connection** button and select the **Vercel Connection** option from the available integrations.
|
||||||
<Step title="Fill the Vercel Connection Modal">
|

|
||||||
Complete the Vercel Connection form by entering:
|
3. Fill the Vercel Connection Modal
|
||||||
- A descriptive name for the connection
|
Complete the Vercel Connection form by entering:
|
||||||
- The API Token you generated in steps 3-4
|
- A descriptive name for the connection
|
||||||
- An optional description for future reference
|
- The API Token you generated in steps 3-4
|
||||||

|
- An optional description for future reference
|
||||||
</Step>
|

|
||||||
<Step title="Connection Created">
|
4. Connection Created
|
||||||
After clicking Create, your **Vercel Connection** is established and ready to use with your Infisical projects.
|
After clicking Create, your **Vercel Connection** is established and ready to use with your Infisical projects.
|
||||||

|

|
||||||
|
</Tab>
|
||||||
|
<Tab title="API">
|
||||||
|
To create a Vercel Connection, make an API request to the [Create Vercel
|
||||||
|
Connection](/api-reference/endpoints/app-connections/vercel/create) API endpoint.
|
||||||
|
|
||||||
|
### Sample request
|
||||||
|
|
||||||
|
```bash Request
|
||||||
|
curl --request POST \
|
||||||
|
--url https://app.infisical.com/api/v1/app-connections/vercel \
|
||||||
|
--header 'Content-Type: application/json' \
|
||||||
|
--data '{
|
||||||
|
"name": "my-vercel-connection",
|
||||||
|
"method": "api-token",
|
||||||
|
"credentials": {
|
||||||
|
"apiToken": "...",
|
||||||
|
}
|
||||||
|
}'
|
||||||
|
```
|
||||||
|
|
||||||
|
### Sample response
|
||||||
|
|
||||||
|
```bash Response
|
||||||
|
{
|
||||||
|
"appConnection": {
|
||||||
|
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
|
||||||
|
"name": "my-vercel-connection",
|
||||||
|
"version": 123,
|
||||||
|
"orgId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
|
||||||
|
"createdAt": "2025-04-01T05:31:56Z",
|
||||||
|
"updatedAt": "2025-04-01T05:31:56Z",
|
||||||
|
"app": "vercel",
|
||||||
|
"method": "api-token",
|
||||||
|
"credentials": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
</Tab>
|
||||||
|
</Tabs>
|
||||||
</Step>
|
</Step>
|
||||||
</Steps>
|
</Steps>
|
||||||
Reference in New Issue
Block a user