Skip to content

Resources

Resources represent connections to git provider workspaces (GitHub organizations or Bitbucket workspaces). Each resource stores the credentials needed to access the provider’s API and clone repositories.

ProviderAuthenticationFeatures
BitbucketAPI token + clone usernameRepository import, clone, push, pull request creation, workspace member listing
GitHubGitHub App (installation ID + private key)Repository import, clone, push, pull request creation
  1. Navigate to Resources > New.
  2. Select your provider.
  3. Fill in the connection details (see provider-specific fields below).
  4. Click Save.

ReArch validates the credentials against the provider API before saving. If validation fails, check that your token has the required permissions.

FieldDescription
NameDisplay name for this connection.
WorkspaceThe Bitbucket workspace slug.
EmailAtlassian account email for API authentication.
Clone UsernameBitbucket username for HTTPS clone operations.
API TokenAtlassian API token with repository read/write access.
FieldDescription
NameDisplay name for this connection.
OrganizationThe GitHub organization name.
Installation IDThe GitHub App installation ID.
Private KeyThe GitHub App private key (PEM format).

After creating a resource, import specific repositories from it. See Repositories for the full guide on importing, enabling, configuring templates, and building Docker images.

  1. Navigate to Resources and click on the resource.
  2. Update the fields as needed.
  3. Click Save.

Credential changes take effect immediately for all subsequent API calls and clone operations.

Deleting a resource removes the provider connection and all its imported repositories. Existing conversations that reference those repositories continue to function (the container is already running with a cloned copy), but no new conversations can be created for those repositories.