Before you start
- Connect a server to Symplax and make sure it is online.
- Connect the GitHub account that owns the project’s repository. Symplax builds from GitHub only.
Get a Vercel token
In Vercel, open your account Settings, then Tokens, then Create. Scope it to your personal account if you can. Symplax stores the token encrypted. You can remove it at any time with Disconnect.Import a project
1
Open Integrations
Click Integrations in the sidebar. On the Vercel card, click Connect and import.
2
Connect Vercel
Paste the token into API token and click Connect.
3
Choose a project
Pick the project. If you have many, use the search box.
4
Review what will be created
Check the app and the Will not come across list carefully. Fill in Secrets to supply if you have the values (see below).
5
Choose a server and import
Pick the server and click Import this project. The first build starts straight away.
What comes across
- The GitHub repository and the project’s production branch.
- The root directory and the build command.
- Production environment variables. Variables that start with
NEXT_PUBLIC_orVITE_are also passed to the build, so they reach the browser. See Environment variables.
Secrets
Vercel stores Sensitive variables as write-only: it does not give the values back to anyone, including you. They appear under Secrets to supply with one field each. Fill in what you have to hand. Anything left blank arrives unset and is listed after the import.Variables that are left out
- Preview, development and branch-specific variables. Only production is imported.
- Vercel’s system variables, and keys starting with
VERCEL,TURBO_orNX_DAEMON. - Any value that points at a
*.vercel.appor*.vercel.shaddress. These are listed as unset so you can give them the new address.
What does not come across
Projects that cannot be imported
The review refuses a project, with the reason, if it:- has no Git repository connected,
- builds from GitLab or Bitbucket,
- runs several services or microfrontends behind one domain (import each service as its own app instead),
- is built only as serverless functions, for example a Go, Rust or Ruby functions project. These need rewriting as an app with a server and a port.
After importing
1
Watch the first build
The app shows Building now, watch the log.
2
Fill in unset variables
Set any secrets and variables listed as unset on the app’s Variables tab, then redeploy.
3
Replace vercel.json routing
Test every route that relied on a rewrite or redirect.
4
Recreate cron jobs
Add each Vercel cron as a cron job on the app.
5
Move your domain and delete the token
When everything works on the
*.symplax.app address, point your DNS at the server, add the domain, and delete the Vercel token.