If you want to learn more about XM Cloud, and how to create a project/site on XM Cloud. Read my articles about XM Cloud here.
Go to the XM Cloud Deploy App: https://deploy.sitecorecloud.io/
Under projects, navigate to your project, and click on View project.
For this feature to work, we have to enable a feature that is currently in Beta on XM Cloud.
Click on the gear icon on the top right corner of your Header, to open Settings.
Enable the Environment Details under Experimental Features, and close the Settings window.
Now, you will be able to click on your environment. Click on your environment name to open the environment details.
In the environment details, click on Setup Hosting.
In the pop-up that opens, you can change your Project Name as you need. Select a Vercel installation or click on Create a new Vercel installation.
If you click on Create a new installation, you will be redirected to Vercel. On the page that opens, click on Add Integration.
Select your Vercel account and remember to provide access to All Projects. This is necessary for XM Cloud to be able to create a new site on Vercel.
Once Vercel Integration is installed, you can close that tab.
You will now be able to see your Vercel account on the pop-up that opened earlier.
Select your Vercel account and click on Save.
This will create a host for your site on Vercel. But, if you click on it, you will be redirected to a 404 Error as we still have to deploy our site to Vercel.
Click on the Publish button to deploy your website to Vercel.
Once the Publish is complete, you will be able to access your site.
Happy Sitecoring!!