# Supported repositories

URL: https://docs.usestitch.ai/docs/factory/repositories



GitHub is the supported repository provider. Custom webhooks add external events;
they do not add another repository provider.

## Connect [#connect]

Install the Stitch GitHub App for the target repositories from the application.
Select the intended organization. Run `stitch repositories list` and confirm `active: true`.
Stitch reads configuration from each repository's default branch.

## Repository output [#repository-output]

The CLI returns a `repositories` array. Use `id` for full validation, `fullName` to match
the checkout's owner/repo, `defaultBranch` for deployment, and `active` to verify access.
Do not assume login grants access to a repository.

```sh
stitch repositories list
stitch validate --repository <id>
```

## Schema [#schema]

Repositories are connected in the application, not declared in YAML.
[Factory schema](/schema/factory.json) defines the configuration read from each repository.
If app installation access is removed, resolve access before validating or pushing.
