Firebase
Create a Firebase project
Go to the Firebase Console and create a new project.
Logfire
Logfire provides observability and tracing for AI calls made by Potpie. Create a free account at Logfire and add the following to.env:
GitHub App
Create the app
Visit GitHub App Creation and choose a name relevant to Potpie (e.g.
potpie-auth).Set permissions
| Scope | Permission |
|---|---|
| Repository Contents | Read only |
| Repository Metadata | Read only |
| Repository Pull requests | Read and write |
| Repository Secrets | Read only |
| Repository Webhooks | Read only |
| Organization Members | Read only |
| Account Email address | Read only |
Add credentials to env
Generate a private key, download it, and add it to
.env as GITHUB_PRIVATE_KEY. Add the app ID as GITHUB_APP_ID.GitHub Auth on Firebase
Enable GitHub sign-in
In Firebase, go to Authentication and enable the GitHub sign-in provider. GitHub provides a client ID and client secret. Add both to Firebase.

