Before you start (about 2 minutes)

Beginner guide & FAQ
  • This page open on a computer (PC or Mac)
  • A Google account (free, no billing needed)
  • Your phone with TubeLink.ai open on the Key Setup & QR Pairing screen

Keep the app open until the end. The session key lives only in the app's memory, so restarting the app invalidates the command.

Prefer not to use a terminal? You can also create a free Google Cloud API key restricted exclusively to YouTube Data API v3 manually with simple clicks.
Manual YouTube Key Guide
  1. Session key
  2. Copy command
  3. Run in Cloud Shell
  4. Scan QR

Enter the session key from the app

The key connects this command with your phone. Only your app can decrypt the result.

Where to find it: in the app open Settings › API Keys › Key Setup & QR Pairing and copy the “Session Encryption Key”. Enter a valid session key.
Keys to create

By default, only YouTube is enabled. Gemini AI key is optional: it works free (Free Tier with rate limits and select models) or with Google Cloud Billing attached for higher quotas, extra models, and strict privacy.

Advanced options (optional)
Leave blank and a project will be selected or created automatically.
Label added to key names in Google Cloud Console, e.g. to tell a phone from a tablet.

Copy the command

One line that creates the keys and shows them as an encrypted QR code. You don't need to read or edit it.

Complete step 1 to generate your command.

Safe by design: your API keys never appear in plain text. They are encrypted with your session key before the QR code is drawn.

Run it in Google Cloud Shell

Cloud Shell is a free terminal from Google that runs in your browser. Nothing is installed on your computer.

  1. Open Cloud Shell in a new tab

    Sign in with your Google account. On first use, accept the terms and click Authorize if asked.

    Open Cloud Shell
  2. Paste the command and press Enter

    Click inside the terminal, paste with Ctrl+V (Mac: ⌘+V) and press Enter.

  3. Wait 30–60 seconds — do not close the tab

    Progress lines will appear (“Setting up APIs…”, “Creating restricted key…”). Then the screen clears and shows TUBELINK.AI: API KEYS READY with a large QR code.

The QR code didn't appear?
  • Question “restore project? [Y/n]” — type Y and press Enter. Google limits how many new projects you can create.
  • “[HALTED] No active Google Cloud project” — enter an existing project ID in step 1 › Advanced options and generate the command again.
  • “QR GENERATION FAILED” — press the ↑ arrow key and Enter to run the command again.
  • QR code is cut off — maximize the terminal panel or zoom out the browser (Ctrl+−).

Scan the QR code with your phone

Go back to the same screen in the app where you got the session key.

  1. Tap “Scan QR” in the app

    Section “2. Scan or Read QR Code” on the Key Setup & QR Pairing screen. Point the camera at the computer screen.

  2. Camera won't focus?

    Take a photo or screenshot of the QR code and choose From Gallery in the app.

Done — keys are saved on your phone

The key status in the app changes to “Configured”. A brand-new key can take 1–5 minutes to start working. If the app says the session key expired, generate a new key in the app and start again from step 1.