Vercel
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: ci-cd-integration
Prerequisites
Section titled “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
Section titled “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 Cosine to track your build
Section titled “Step 2: Configure Cosine to track your build”Once Vercel is linked to Cosine. You can tell Cosine 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 Cosine to track.
- Click save.
Step 3: Monitor Deployments via Cosine
Section titled “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.