| title | Add Vercel as a social connection |
|---|---|
| description | Learn how to allow users to sign up and sign in to your Clerk app with their Vercel account using OAuth. |
<TutorialHero beforeYouStart={[ { title: "A Clerk app is required.", link: "/docs/getting-started/quickstart/setup-clerk", icon: "clerk", }, { title: "A Vercel account is required.", link: "https://vercel.com/signup", icon: "user-circle", }, ]} />
Enabling OAuth with Vercel allows your users to sign up and sign in to your Clerk app with their Vercel account.
For development instances, Clerk uses preconfigured shared OAuth credentials and redirect URIs—no other configuration is needed.
- In the Clerk Dashboard, navigate to the SSO connections page.
- Select Add connection and select For all users.
- In the Choose provider dropdown, select Vercel.
- Select Add connection.
For production instances, you must provide custom credentials.
To make the setup process easier, it's recommended to keep two browser tabs open: one for the Clerk Dashboard and one for your Vercel team settings.
### Enable Vercel as a social connection in Clerk- In the Clerk Dashboard, navigate to the SSO connections page.
- Select Add connection and choose For all users.
- In the Choose provider dropdown, select Vercel.
- Ensure that both Enable for sign-up and sign-in and Use custom credentials are toggled on.
- Save the Authorization Callback URL somewhere secure. Keep the modal and page open.
- In your Vercel dashboard, navigate to your team's Settings tab.
- Scroll down and select Apps, then select Create.
- Enter a Name and Slug for your app. Optionally, upload a logo.
- Select Save.
- Scroll to Authorization Callback URLs and add the Authorization Callback URL you saved from the Clerk Dashboard.
- Navigate to the Authentication tab and under Client Authentication Method, select the appropriate method for your app. For server-side applications,
client_secret_basicorclient_secret_postare recommended. - Select Generate to create a client secret. Save the Client ID and Client Secret somewhere secure.
- Navigate to the Permissions tab and enable the required scopes:
openid,email,profile, andoffline_access. - Select Save.