4. Deploying editing environments


We're now ready to deploy our new site. We can do this with any hosting service that supports NextJS, but for this tutorial we will set things up with Vercel

Deploy with Vercel

Connect to your GitHub repository and set the same environment variables as the ones in your env.local file:

NEXT_PUBLIC_REALM_NAME= <YOUR_REALM>
NEXT_PUBLIC_TINA_CLIENT_ID= <YOUR_CLIENT_ID>

šŸŽ‰ Congratulations, your site is now live!

You can test that everything is configured correctly by navigating to [your deployment URL]/admin, logging in to Tina Cloud, and making some edits. Your changes should be saved to your GitHub repository.