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

  1. In the Cosine dashboard, select the project you wish to link.

  2. Navigate to the Integrations tab within the project settings.

  3. Click on the Vercel integration, then click Enable

  4. Authenticate with your Vercel account if prompted.

  5. Select the specific Vercel project you want to associate with your Cosine project.

  6. Confirm the linkage to establish the connection between Cosine and Vercel.

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:

  1. In the Cosine dashboard, select the project you wish to link.

  2. Click on the Settings tab

  3. Find the workflows section, and within this, the Vercel section.

  4. Select from the dropdown which project builds you want Cosine to track.

  5. 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?