Skip to content

Integrations

GitHub Connect

GitHub Connect enables seamless integration between your GitHub repositories and MGX, allowing you to pull repositories, manage incremental development, and streamline workflows. Follow the steps below to configure and use GitHub Connect.

Generate a GitHub Personal Access Token

To authenticate MGX with GitHub, create a Personal Access Token (PAT):

  • Log in to your GitHub account and navigate to Settings → Developer Settings → Personal Access Tokens → Tokens (Classic).
  • Click Generate New Token → Generate New Token (Classic).
  • Provide a descriptive name (e.g., MGX Integration).
  • Set an expiration period (e.g., 30 days).
  • Under Select Scopes, check repo (full repository access) and workflow (if CI/CD integration is needed).
  • Click Generate Token.
  • Copy the token immediately—it will not be visible again.

Configure GitHub in MGX

  • Open the MGX Config Page and navigate to GitHub Config.
  • Click + Add to create a new configuration.
  • In the Origin field, enter github.com.
  • Paste the copied GitHub Personal Access Token into the Token field.
  • (Optional) Add a description for future reference.
  • Click Save to complete the setup.

Use GitHub Connect

Once configured, you can interact with GitHub repositories directly through MGX:

  • Pull a Repository: Provide the GitHub repository URL to MGX. The system will fetch the latest code and enable incremental updates.
  • Code Review or Issue Fixing: Submit a GitHub issue or pull request link to MGX. MGX will analyze the code, suggest fixes, or trigger automated workflows.

By following this guide, you can leverage GitHub Connect to enhance collaboration, automate workflows, and accelerate development cycles within MGX.