GitHub integration
The Prisma app for GitHub provides an integration between Prisma Data Platform and GitHub. With this integration, you can use your GitHub account to sign up and create an account for Prisma Data Platform, and enable Prisma schema synchronization for a project (if you push your schema to a GitHub repository).
About the Prisma app for GitHub
When you first link a Prisma schema from a GitHub repository to a project, you install the Prisma app for GitHub. When you install the app, you provide a set of permissions to the app to read your GitHub account data as well as permissions to read all of your GitHub repositories. Specifically, you grant the permissions listed below.
- Read access to the administration, code, and metadata of all your GitHub repositories (you can later select to do so only for specific repositories)
- Read access to the email address of your GitHub account
Install the Prisma GitHub app
You install the Prisma GitHub app when you first link a Prisma schema from a GitHub repository to a project in Prisma Data Platform.
Steps
Result
When you install, you grant the Prisma app read access to all of your existing GitHub repositories as well as new repositories that you create. You can later disable this and select specific repositories that you want to use for projects in the platform.
Grant Prisma app access only to selected repositories
You can grant the Prisma app access only to repositories that you select. You can select only repositories that you intend to use for projects in Prisma Data Platform.
Steps
- In GitHub, select Settings from the profile menu.
- Under Integrations section, select Applications.
- On the Installed GitHub Apps tab, click Configure for the Prisma app.
- Under Repository access, select Only select repositories and select only repositories you intend to use for your projects.
- Click Save.
Result
In the platform, when you create a project or configure an environment and you need to link a Prisma schema from a GitHub repository, only the selected repositories are available.
Uninstall the Prisma GitHub app
If you do not need to enable Prisma schema synchronization for any of your projects and no longer need the Prisma GitHub app, you can uninstall it.
Steps
- In GitHub, select Settings from the profile menu.
- Under Integrations, select Applications.
- On the Installed GitHubApps tab, click Configure for the Prisma app.
- Click Uninstall.
Result
The Prisma GitHub app is now uninstalled.