Skip to main content

CircleCI Connector

Prerequisites

  • A CircleCI account (Free or any paid plan)
  • Access to the projects you want to sync

Getting Your Credentials

CircleCI uses a Personal API Token for authentication.

Step 1: Create a Personal API Token

  1. Log into CircleCI
  2. Click your user icon in the bottom-left
  3. Go to User Settings > Personal API Tokens
  4. Click Create New Token
  5. Name it (e.g., Landed sync)
  6. Copy the token (starts with CCIPAT_)

Step 2: Find Your Project Slug

The project slug identifies which project's pipelines to sync. The format is <vcs>/<org>/<repo>:

  • gh/acme/backend -- GitHub org "acme", repo "backend"
  • bb/acme/api -- Bitbucket org "acme", repo "api"

You can find this in the CircleCI project URL.

Step 3: Find Your Organization ID (Optional)

The organization ID is only required if you want to sync the contexts stream.

  1. In CircleCI, go to Organization Settings
  2. Copy the Organization ID (UUID format)

Configuration in Landed

FieldValue
API TokenYour CircleCI personal API token (starts with CCIPAT_)
Project SlugVCS provider/org/repo (e.g., gh/acme/backend)
Organization ID (optional)CircleCI organization UUID (for contexts stream)
Base URL (optional)Override for self-hosted CircleCI Server (default: https://circleci.com)

Available Streams

StreamDescriptionSync Mode
projectsProject definitions with VCS infoFull refresh
pipelinesPipeline runs with trigger info and VCS detailsIncremental
workflowsWorkflows within pipelines with status and timingIncremental
workflow_jobsIndividual jobs within workflowsIncremental
job_detailsDetailed job information including executor and stepsIncremental
contextsOrganization contexts (requires org_id)Full refresh

Common Issues

SymptomCauseFix
401 UnauthorizedInvalid API tokenGenerate a new token in CircleCI > User Settings > Personal API Tokens
404 Not FoundWrong project slugVerify the project slug format: gh/org/repo or bb/org/repo
Empty contextsMissing organization IDSet the Organization ID field to sync contexts
Rate limit exceededToo many API callsLanded handles rate limiting automatically
Missing pipelinesPipelines older than backfill windowLanded fetches pipelines incrementally with a 6-hour overlap to catch in-flight jobs

Self-Hosted CircleCI Server

If you run a self-hosted CircleCI Server instance, set the Base URL field to your instance URL (e.g., https://circleci.yourcompany.com).

Static IPs for Allowlisting

If your CircleCI instance requires IP allowlisting:

  • Production: 34.170.185.84, 35.192.90.94
  • Staging: 34.171.93.34