When using the Vercel CLI to set environment variables or trigger deployments from CI/CD pipelines, you sometimes need ORG_ID
and PROJECT_ID
. Have you ever been confused about where to find these IDs?
This article introduces two simple methods to find your Vercel ORG_ID
and PROJECT_ID
.
ORG_ID
and PROJECT_ID
.vercel
DirectoryThe most convenient method is to check files that exist in your local development environment.
When you link a Vercel project locally (vercel link
) or pull it (vercel pull
), a hidden directory called .vercel
is created in the project root directory. The project.json
file inside contains the IDs.
.vercel/project.json
fileorgId
and projectId
{
"projectId": "prj_1234567890abcdefghijklopqrst",
"orgId": "team_1234567890abcdefghijklop"
}
This method is very fast when you’re already working on the target project locally.
If you don’t have the project files locally or want to check directly from the browser, use the Vercel dashboard.
Org ID
is also called “User ID” for personal accounts.
Org ID
Project ID
Vercel’s ORG_ID
and PROJECT_ID
can be easily checked using these two methods:
.vercel/project.json
fileUse them appropriately depending on the situation for smooth development and integration setup.
That’s all from the Gemba.