To get a project ID for your Vercel project, you have a few options:
If your project is already deployed on Vercel, you can find the project ID in your Vercel dashboard:
If you're using the Vercel API, you can retrieve your project ID by making a request to find a project by name 1:
curl -X GET "https://api.vercel.com/v9/projects/your-project-name" \
-H "Authorization: Bearer YOUR_TOKEN"
If you're using the Vercel CLI, you can link your project and then find the ID in the .vercel/project.json
file:
vercel link
cat .vercel/project.json
If you're working with Supabase and encountering issues with project IDs, make sure you're using the correct Reference ID which looks something like xvljpkujuwroxcuvossw
2.