---
title: "Start connecting GitHub"
method: POST
path: "/v1/cloud-coding/github/install/start"
tags: ["Organizations"]
---

# Start connecting GitHub

`POST /v1/cloud-coding/github/install/start`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/cloud-coding/github/install/start`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Connects an existing installation when possible or returns the address of the next GitHub setup step.

## Request body

- CloudCodingInstallStartInput
  - `existing` boolean

## Response `200`

Start connecting GitHub

- CloudCodingRedirect
  - `redirectUrl` string, uri, required

## Other responses

- `400`: Check the information you entered.
- `401`: Sign in to continue.
- `403`: You do not have permission.
- `404`: Cloud coding or this person is not available.
- `409`: Cloud coding is not ready for this action.
- `502`: GitHub could not complete the request.

## Changes

- **2026-11-29** `8a5cecbbb048`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/cloud-coding/github/install/start/post.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) - [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/84fb0f99fb95?raw)
