GitHub integration
Any CI tool requires tight integration with your existing version control system. Nx Cloud offers first class integration with GitHub in the following ways.
Easy Onboarding
Get started with Nx Cloud in no time with our GitHub connection process. Connect your workspace, and Nx Cloud will create a pull request with everything you need. Select your workspace and organization, and Nx Cloud takes care of the rest. User access is automatically connected to GitHub, and a PR is created to connect your workspace. Your repo now has distributed caching in less than 5 minutes.
Pull Request Insights
Good CI checks require fast and easy access to results. That's why Nx Cloud will update your PR with the current running status of your tasks and a convenient link to your Nx Cloud results and logs. Take advantage of the enhanced developer experience of structured and searchable logs. Quick insight to PR task progress, so you're not stuck waiting for every task to complete. And with Nx Replay, developers can quickly replay tasks locally to avoid running tasks that CI has already completed.
Access Control
Nx Cloud organizations can use their existing GitHub access controls to manage Nx Cloud as well. This allows Nx Cloud to fit in to any existing on-boarding or off-boarding process. There's no need to manually manage users separately. Get your engineers Nx Cloud access right alongside their GitHub access so they can get to work fast. Use personal access tokens to further enhance your security.
Get Started
First, you'll want to connect your Nx Cloud account to GitHub. You can use your regular username and password or log in via Google or GitHub, connecting to GitHub is a separate step.
Connect to GitHubConnect your Nx Cloud account to GitHub via your profile settings
Connect a New Workspace and Organization
- Visit Nx Cloud and click Connect a workspace at the top.
- Select Connect existing repository from the dropdown.
- Follow the prompts to select a repo.
- If that repo is controlled by a GitHub organization, you will be prompted to use that organization.
- Follow the prompts to create a pull request to complete your connection to Nx Cloud.
Connect a workspace to Nx CloudConnect an Nx workspace in GitHub to Nx Cloud
Connect an Existing Organization
If you've already created an organization in Nx Cloud, and you'd like to use your GitHub organization to manage access to it:
- Go to the organization in Nx Cloud while logged in as an admin user.
- Click on Settings in the top menu
- Go to Connect GitHub organization in the sidebar
- Follow the prompts there to connect to GitHub.
Connect an Existing Workspace
If you already have a workspace connected to Nx Cloud, and you'd like to connect it to a GitHub repo to enable PR insights, see our recipe for more details.