Lesson
5.3 Set up Deployments
Most data teams struggle with the gap between development and production environments. Mage Pro addresses this challenge by offering direct GitHub integration, which not only preserves your version control practices but transforms your deployment process from manual headaches into automated reliability.
Configuring your environment
Once you've logged into your Mage Pro account, you'll find the deployment controls in the left navigation panel:
Navigate to the "Deploy" section in the sidebar
Access the deployment settings panel to prepare your GitHub connection
Double-check your project directory configuration, this is a common source of deployment failures
GitHub authentication
The GitHub connection process requires proper authentication to ensure secure access to your repositories:
Select the "Connect" button to initiate the GitHub authentication flow
Choose token-based authentication for enhanced security (this is particularly important when dealing with sensitive data pipelines)
First-time users will need to complete a standard OAuth workflow on GitHub to grant the necessary permissions
Return to the Mage Pro interface after authentication to verify connection status
Choose an organization from the dropdown list under Organization
If your organization is not available you can write in the Orgnization name in the text box below and then click Set organization.
This will set the organization and it should appear with the correct organization logo in the drop down list above
If you are connecting to a private repo you will need to click the purple “Install Mage Pro app on GitHub” button.
Depending on your companies permissions, you may need a GitHub organization administrator to grant access to the application
Select a repo from the dropdown lost
Next select a production branch from the dropdown list
If your branch is not showing in the dropdown list, type in the branch name in the text box below the branch dropdown and then click “Set branch”
You will see the branch appear in box above.
Click the “Next step to Deployment stages” button
Conclusion
You've now connected Mage Pro to your GitHub repository, establishing the secure foundation needed for professional CI/CD workflows. This connection enables automated deployment of your data pipelines from development to production.
In the next section, we'll explore the Version Control Application which is a visual interface that makes Git operations accessible through an intuitive graphical dashboard, complementing the command-line power of the Git Terminal you just learned.