ă Connecting your Obsidian (Second Brain) to AI ă
This guide is designed for users who say, âIâm not a programmer, but Iâm comfortable using a PC.â Weâve avoided technical jargon as much as possible and included step-by-step instructions for every single click.

The Concept: As shown above, this tool creates a secure âbridgeâ in your private Google Cloud. You simply upload your vault (ZIP), and the Cloud Agent merges everything into a single, AI-ready file for you. [cite: 2026-01-27]
First, letâs gather the âtoolsâ needed to connect your computer to the cloud (Googleâs servers).
Your regular Gmail account will work perfectly.
To ensure the commands work correctly, the folder structure must be precise. [cite: 2025-12-14]
C:\python\second-brain-joinermain.py, requirements.txt, and ReadMe.md are inside that folder.We will install the âMagic Wandâ that allows you to control the cloud via text commands instead of just clicking.
First, create a private âWorkspace (Project)â inside Google Cloud.
second-brain-joiner as the Project Name and click âCreateâ.You will need the âidentification codesâ for your project later.
second-brain-joiner-12345)123456789012)This is the heart of the setup! Open the âGoogle Cloud SDK Shellâ from your application list.đĄ
[!TIP] đĄ Quick Tip for the âBlack Screenâ (SDK Shell): You can paste commands into this screen using either âCtrl + Vâ or simply by Right-Clicking your mouse after copying. Both methods work perfectly! đ
Login
gcloud auth login
A browser window will open. Select your Google account and click âAllow.â
Specify your Project
â Check your Project ID:
gcloud projects list
⥠Set the Project (Replace brackets with your ID):
gcloud config set project [YOUR_PROJECT_ID]
Enable Google Cloud Features (GUI Recommended)
To ensure everything flows smoothly, it is safer to enable these 4 switches via the browser. Go to the Search Bar at the top of the Google Cloud Console and enable each:
ăăăăăăăăăăăClick the âEnableâ button on this screen
ăăăăIf âDisable APIâ is displayed in blue, it means the process was successful!
đĄ Tip: Click the blue âEnableâ button for each. If it says âAPI Enabled,â youâre good to go!
â ď¸ IMPORTANT: Bucket names are âFirst come, first served.â Add unique letters/numbers to the end (e.g.,
second-brain-joiner-dicon777).gcloud storage buckets create gs://[YOUR_UNIQUE_NAME] --location=asia-northeast1
gcloud storage service-agent --project=[YOUR_PROJECT_ID]
⥠Issue the first permit:
gcloud projects add-iam-policy-binding [YOUR_PROJECT_ID] --member="serviceAccount:service-[YOUR_PROJECT_NUMBER]@gcp-sa-eventarc.iam.gserviceaccount.com" --role="roles/storage.admin"
⢠Issue a second permit:
gcloud projects add-iam-policy-binding [YOUR_PROJECT_ID] --member="serviceAccount:service-[YOUR_PROJECT_NUMBER]@gs-project-accounts.iam.gserviceaccount.com" --role="roles/pubsub.publisher"After casting the spell (command) on the black screen (SDK Shell), check the following points:
â
Signs of success (big win!)
If you see a message like this, then the process is working properly!
đĄ Beginners often make the mistake of thinking, âThereâs a lot of English! Itâs an error!â But if it says âUpdated,â then youâve succeeded. Donât worry, you can move on to the next step!
â Signs of Failure (Needs a re-check!)
đ What to do? Donât panic. First, double-check that youâve linked your payment settings and pressed the âEnable API in your browserâ button .
đ Quick Diagnostic Table | Status | Keywords to look for | Screen Vibe | | :â | :â | :â | | â SUCCESS! | Updated, bindings | Busy screen, but ends peacefully. | | â FAILURE⌠| ERROR, Denied, Not found | Short, stops with âangryâ red-looking text. |
Now, letâs put the program into the cloud!
cd /d C:\python\second-brain-joinergcloud functions deploy second-brain-joiner --gen2 --region=asia-northeast1 --runtime=python312 --source=. --entry-point=process_gcs_zip --trigger-bucket=[YOUR_BUCKET_NAME] --memory=1Gi --timeout=300sThe screen might look stuck, but Google is working hard to Build your App Environment. Take a coffee break!
If you see a screen like this, the process was successful!
đĄ If it asks â(y/N)?â, type y and hit Enter.
If you see an error message in red, double-check the âPersonal Bucket Nameâ you created in Step 3-4!Itâs time to connect your âsecond brainâ!
Find your âBucketâ:
Click on âBucket (Cloud Storage)â in the search results.
From the list, find and click on the âyour bucket name (e.g. second-brain-joiner-dicon03)â that you created in Step 3!
Upload & Merge:
â Drag and drop the ZIP file you prepared onto the screen. (Or click the âUpload Fileâ button.)
⥠Once the upload is complete, your ZIP file will appear at the bottom of the screen.
⢠Wait 5 to 10 seconds.

Sorted & Verified by Second Brain Joiner (AI Architect: Dicon / Hirofumi Inoue)