---
title: "How to create your own Google client for Besidka"
description: "Create your own Google Cloud OAuth client for Besidka in Personal mode, step by step: project, APIs, consent screen, client, redirect address and connecting Gmail, Calendar and Drive."
canonical_url: "https://besidka.com/guides/google-oauth-client"
---
# How to create your own Google client for Besidka

> Create your own Google Cloud OAuth client for Besidka in Personal mode, step by step: project, APIs, consent screen, client, redirect address and connecting Gmail, Calendar and Drive.

The own-client card on the **Google** tab of **API Keys** appears only when your account has access to it and you turned on **Google Drive** and **Your own Google client** in **Labs**. The steps below match the setup guide on that card.

1. **Create a Google Cloud project.** Recommended: a project in Personal mode, for a client only you use. Open the [Personal mode page](https://console.cloud.google.com/auth/overview/personal) and read [Google's help page](https://support.google.com/cloud/answer/15544987). Google says Personal mode apps do not need OAuth app verification, are not subject to the OAuth user cap or the 7-day test user token expiration, and do not show the unverified app screen. Only the Google account that created the app can sign in, and a Personal project cannot be switched to External or Internal later. If a few people you know should use the client too, [create an External project](https://console.cloud.google.com/projectcreate) instead and follow the External path in step 3. The console opens the project it used last, so check that the project picker at the top shows the project you created.
2. **Turn on the APIs you will use.** Open each page and press **Enable**. Gmail access needs the [Gmail API](https://console.cloud.google.com/apis/library/gmail.googleapis.com), Google Calendar needs the [Google Calendar API](https://console.cloud.google.com/apis/library/calendar-json.googleapis.com), and Drive search needs the [Google Drive API](https://console.cloud.google.com/apis/library/drive.googleapis.com). Check the project picker again before you press **Enable**. An API turned on in the wrong project causes the "API is not turned on" error.
3. **Set up the consent screen.** Name the app so the consent screen shows that it is yours and that it is for Besidka, for example "Your name's client for Besidka". Use your own email as the support email. The [Branding](https://console.cloud.google.com/auth/branding) page also asks for a developer contact email: use your own again. In Personal mode there is no audience to choose, nothing to publish and no test users. For an External project, open [Audience](https://console.cloud.google.com/auth/audience) and pick one path. Publish the app, so the status is "In production": this ends the 7-day expiry of Testing, and the app stays unverified. Or stay in Testing, add your own Google account as a test user, and connect again every 7 days. For an External app in production, the Branding page also asks for these addresses. The application home page is `https://besidka.com`. The privacy policy link is `https://besidka.com/privacy-policy`. The terms of service link is `https://besidka.com/terms-of-use`. The authorized domain is `besidka.com`. The Terms of Use grant the license that lets you point your own client at Besidka.
4. **Add the access Besidka asks for.** Open [Data access](https://console.cloud.google.com/auth/scopes) and add the access that the setup guide on the [card in Besidka](https://besidka.com/profile/keys?tab=google) lists. Always add the first two entries. Add the others only for what you will turn on in Besidka. Google Calendar needs both of its entries, and Besidka offers Google Calendar only while it is turned on in **Labs**.
5. **Create an OAuth client.** Open the [Clients page](https://console.cloud.google.com/auth/clients) and create a client of type **Web application**. The Personal mode page can create it for you. Under **Authorized redirect URIs**, add the address shown on the card in Besidka, exactly as it is shown. Its path is `/api/v1/google/byo/callback`. If you open Besidka on more than one address, add one for each. You do not need JavaScript origins.
6. **Save the client in Besidka.** Google shows the client secret in full only once, in the dialog that appears when you create the client. Copy the client ID and the secret into the two fields on the card, tick the box that confirms the project is yours, and press **Save client**. Besidka never shows them again.
7. **Connect and approve.** Tick what Besidka may request, press **Connect** and approve on Google's screen.

**The unverified app warning.** In Personal mode Google shows no unverified app screen. On an External project Google shows "Google hasn't verified this app". That is expected for your own client. Continue only on your own account. To get past it, check that the developer email on the screen is the one you set on your consent screen. Then tap **Advanced**, then **Go to your app name (unsafe)**. On Google's next screen, tick the access Besidka asks for and press **Continue**. **Back to Safety** cancels and connects nothing.

**The 7-day expiry.** If you stayed in Testing, Google ends the access every 7 days. Connect again from the card. Publishing an External app on the Audience page ends the expiry, and Personal mode never has it.

**How current this is.** These console pages and labels are written from Google's documentation and from Besidka's own setup guide. They were not checked against a live Google Cloud console. Google changes the console from time to time, so a label may differ from what you see.

