Skip to content

Commit 478bdc6

Browse files
committed
Improved the VERCEL_ACCESS_TOKEN note
1 parent 99507ba commit 478bdc6

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

docs/config/config-file.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,9 @@ The `vercelSyncEnvVars` build extension syncs environment variables from your Ve
511511

512512
<Note>
513513
You need to set the `VERCEL_ACCESS_TOKEN` and `VERCEL_PROJECT_ID` environment variables, or pass
514-
in the token and project ID as arguments to the `vercelSyncEnvVars` build extension.
514+
in the token and project ID as arguments to the `vercelSyncEnvVars` build extension. You can find
515+
/ generate the `VERCEL_ACCESS_TOKEN` in your Vercel dashboard under account settings / tokens.
516+
Make sure the scope of the token covers the project you want to sync.
515517
</Note>
516518

517519
```ts

docs/guides/examples/vercel-sync-env-vars.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ This code syncs encrypted environment variables, filtering them based on the cur
1818

1919
<Note>
2020
You need to set the `VERCEL_ACCESS_TOKEN` and `VERCEL_PROJECT_ID` environment variables, or pass
21-
in the token and project ID as arguments to the `vercelSyncEnvVars` build extension.
21+
in the token and project ID as arguments to the `vercelSyncEnvVars` build extension. You can find
22+
/ generate the `VERCEL_ACCESS_TOKEN` in your Vercel dashboard under account settings / tokens.
23+
Make sure the scope of the token covers the project you want to sync.
2224
</Note>
2325

2426
```ts trigger.config.ts

docs/guides/frameworks/nextjs.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,9 @@ If you want to automatically sync environment variables from your Vercel project
251251

252252
<Note>
253253
You need to set the `VERCEL_ACCESS_TOKEN` and `VERCEL_PROJECT_ID` environment variables, or pass
254-
in the token and project ID as arguments to the `vercelSyncEnvVars` build extension.
254+
in the token and project ID as arguments to the `vercelSyncEnvVars` build extension. You can find
255+
/ generate the `VERCEL_ACCESS_TOKEN` in your Vercel dashboard under account settings / tokens.
256+
Make sure the scope of the token covers the project you want to sync.
255257
</Note>
256258

257259
```ts trigger.config.ts

0 commit comments

Comments
 (0)