Vercel
How to set up and use Vercel in Cosine
Cosine AI integrates seamlessly with Vercel, enabling autonomous deployment and real-time monitoring of your applications. By linking a Cosine project to a Vercel deployment, you can leverage Cosine's AI capabilities to manage your CI/CD pipeline effectively.
See also: https://docs.cosine.sh/ci-cd-integration
Prerequisites
An active Vercel account with the appropriate permissions.
A Cosine AI account with access to the Genie model.
A project hosted on GitHub connected to Vercel.
Step 1: Integrate Vercel into your Cosine Team
In the Cosine dashboard, select the project you wish to link.
Navigate to the Integrations tab within the project settings.
Click on the Vercel integration, then click Enable
Authenticate with your Vercel account if prompted.
Select the specific Vercel project you want to associate with your Cosine project.
Confirm the linkage to establish the connection between Cosine and Vercel.
Step 2: Configure Genie to track your build
Once Vercel is linked to Cosine. You can tell Genie which projects to try building during task runs:
In the Cosine dashboard, select the project you wish to link.
Click on the Settings tab
Find the workflows section, and within this the Vercel section.
Select from the dropdown which project builds you want Genie to track.
Click save.
Step 3: Monitor Deployments via Cosine
With the integration in place, Cosine provides a browser-integrated view of your Vercel deployments:
Live Deployment Status: Track the real-time status of your deployments (e.g., building, ready, failed).
Preview Links: Access unique URLs generated by Vercel for each deployment, facilitating easy sharing and testing.
Deployment Logs: Review build and runtime logs directly within the Cosine interface for streamlined debugging.
Last updated
Was this helpful?