---
title: "Connects a rill managed project to github.
Replaces the contents of the remote repo with the contents of the project."
method: POST
path: "/v1/orgs/{org}/projects/{project}/connect-to-github"
---

# Connects a rill managed project to github.
Replaces the contents of the remote repo with the contents of the project.

`POST /v1/orgs/{org}/projects/{project}/connect-to-github`

## Path parameters

- `org` string, required
- `project` string, required

## Request body

- object
  - `remote` string

## Response `200`

A successful response.

- V1ConnectProjectToGithubResponse

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.dev/rilldata/apis/rill-admin-api.md) · [All operations](https://skmtc.dev/rilldata/apis/rill-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rilldata/rill-admin-api/revisions/abe7a430f373/schema)
