Step 1: Create your Google sign-in
Make a Google Cloud project with a sign-in screen and an OAuth client. Google doesn't allow this to be automated, so it's a few minutes of clicking. You'll come away with a client ID and a client secret.
1. Create a project
- Open console.cloud.google.com/projectcreate and sign in with your Google account.
- Name it, for example Echelon Inbox, and click Create.
- When it's ready, make sure the new project is selected in the project picker at the top of the page.
2. Turn on the APIs
Open each link below with your project selected and click Enable:
- Gmail API
- People API (contact autocomplete)
- Google Drive API (linking Drive files)
- Google Calendar API
3. Set up the sign-in screen
- Open Google Auth Platform and click Get started.
- App information: enter an app name, such as Echelon Inbox, and pick your email as the support email.
- Audience: choose External. (Choose Internal only if everyone who'll use it is in your Google Workspace organization; then you can skip publishing below.)
- Contact information: your email. Agree to the policy and click Create.
- In the left menu, open Audience and click Publish app, then Confirm.
Don't skip Publish app. While an External app is in Testing, Google expires its sign-ins after 7 days, and you'd have to sign in again every week. You don't need Google's verification for your own use. You'll click past an "unverified app" warning the first time you sign in.
4. Create the OAuth client
- In the left menu, open Clients and click Create client.
- Application type: Web application. Name: anything, such as Echelon Inbox server.
- Leave Authorized redirect URIs empty for now. Your server shows you the exact one to add after it's deployed.
- Click Create.
- Copy the Client ID and Client secret into a note or your password manager. You'll paste them in the next step.
Lost the secret? Open the client again under Clients and add a new secret.