Skip to content

Setting Up Git Credentials

Ileen needs write access to your Git repositories to push code and manage pull requests (or merge requests). This guide covers how to create and configure a Personal Access Token (PAT) for each supported provider.

Applies to: Design Mode (Developer Setup) · Develop Mode (Project Setup) · Deploy Mode (fix-and-redeploy)


Supported providers

Ileen supports GitHub, GitLab, Bitbucket Cloud, and Azure DevOps. The provider is detected automatically from your repository URL — no manual selection needed.

ProviderClone URL formatPAT guide
GitHubhttps://github.com/owner/repo.gitGitHub PAT
GitLabhttps://gitlab.com/owner/repo.gitGitLab PAT
Bitbuckethttps://bitbucket.org/owner/repo.gitBitbucket PAT
Azure DevOpshttps://dev.azure.com/org/project/_git/repo.gitAzure DevOps PAT

⚠️ GitLab nested groups are not supported. Ileen requires repositories to be at the root level of a GitLab group (e.g. https://gitlab.com/your-group/your-repo). Repositories inside nested subgroups (e.g. https://gitlab.com/your-group/subgroup/repo) will not work correctly — the automated merge request workflow cannot complete, and the development pipeline will fail.


GitHub

Required permissions

PermissionAccess
MetadataRead
Contents (code)Read and Write
Commit statusesRead and Write
Merge queuesRead and Write
Pull requestsRead and Write

Create a fine-grained PAT

GitHub’s fine-grained personal access tokens let you grant exactly the permissions above, scoped to specific repositories.

  1. Go to GitHub → Settings → Developer settings → Personal access tokens → Fine-grained tokens.
  2. Click Generate new token.
  3. Give it a name (e.g. Ileen) and set an expiry (90 days is a reasonable default).
  4. Under Repository access, select Only select repositories and choose the repos you’ll connect to Ileen.
  5. Under Repository permissions, set:
    • ContentsRead and Write
    • Commit statusesRead and Write
    • Merge queuesRead and Write
    • Pull requestsRead and Write
    • Metadata is set to Read automatically.
  6. Click Generate token and copy it immediately — it won’t be shown again.

GitLab

Required permissions

PermissionAccess
api (read and write)Required

GitLab uses a single broad api scope for personal access tokens.

Create a PAT

  1. Go to GitLab → User Settings → Access Tokens.
  2. Give it a name (e.g. Ileen).
  3. Under Select scopes, check api.
  4. Set an expiry date (optional but recommended).
  5. Click Create personal access token and copy it immediately.

Bitbucket Cloud

Required permissions

PermissionAccess
RepositoriesRead and Write
Pull requestsRead and Write

Create an App Password

Bitbucket uses App Passwords for repository-level access:

  1. Go to Bitbucket → Personal settings → App passwords.
  2. Click Create app password.
  3. Give it a label (e.g. Ileen).
  4. Under Permissions, select:
    • RepositoriesRead and Write
    • Pull requestsRead and Write
  5. Click Create and copy the password immediately.

Azure DevOps

Required permissions

PermissionAccess
CodeRead & Write
Pull Request ThreadsRead & Write

Create a PAT

  1. Go to Azure DevOps → User settings → Personal access tokens.
  2. Click New Token.
  3. Give it a name (e.g. Ileen).
  4. Under Scopes, select Custom defined and enable:
    • CodeRead & write
    • Pull Request ThreadsRead & write
  5. Set an expiration (up to 1 year).
  6. Click Create and copy the token immediately.

Entering credentials in Ileen

Design Mode — Developer Setup

When you reach Stage 4 (Development) in Design Mode, the Developer Setup screen lists every repository defined by the Tech Leader. For each one:

  1. Enter the repository HTTPS URL (e.g. https://github.com/acme/ecommerce-api).
  2. Enter the Personal Access Token.
  3. Choose the base branch (defaults to main).

Shared token: When the project has more than one repository, the Developer Setup screen shows a “Shared Access Token (optional)” field at the top. Enter your PAT there and it will be used for every repo that doesn’t have its own token below — you only need to enter it once.

Develop Mode — Project Setup

Develop Mode connects to one or more existing repositories:

  1. Enter the repository URL.
  2. Choose the base branch (the branch Ileen will read and commit to).
  3. Enter the PAT if the repository is private.
  4. Click Create Project.

Deploy Mode — fix-and-redeploy commits

Deploy Mode also uses your Git PAT when the Deploy Agent applies code fixes during a fix-and-redeploy cycle. When a deployment fails and the agent repairs the code, it commits the change and pushes it to the configured branch before triggering a new build.

No extra configuration is needed — the same PAT you entered in Developer Setup is reused automatically. Make sure it has Contents: Read and Write permission on every repository in the project (see the Required permissions table above).


Customizing Git commit identity

By default, all commits pushed by Ileen use the identity Ileen (ileen@hypaz.com) as the author and committer. You can override this on your Account page to have commits appear under your own name and email address instead.

How to set your own identity

  1. Open the user menu (top-right avatar) and click Account.
  2. Scroll to the Git Commit Identity section.
  3. Fill in the Git author name and Git author email fields with your preferred identity.
  4. Click Save to apply the change.

If you leave either field empty, Ileen falls back to the default identity for that field. For example, setting only the name will use Your Name (ileen@hypaz.com) on future commits.


Token security

  • Tokens are encrypted at rest and in transit.
  • They are used only during active coding jobs and deployment runs.
  • Tokens are never included in logs or error messages.
  • Revoke a token at any time from your provider’s token settings without affecting other Ileen functionality.

Troubleshooting

ErrorLikely causeFix
Authentication failedWrong token or expiredRegenerate the token and update it in Ileen
Repository not foundURL typo or PAT has no access to the repoCheck the URL and token scopes
Push rejected: non-empty repositoryRepo already has contentCreate a new empty repository
SSO requiredGitHub SAML org requires SSO authorisationAuthorise the token for the org (see GitHub tip above)
Merge request not createdGitLab nested groupUse a repository at the root level of a GitLab group

Next steps