1- ### ** 5 minute read   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ;   ; ` Intermediate ` **
1+
2+ <h3 >
3+ <table >
4+ <tr >
5+ <td><b>10 minutes read</b></td>
6+ <td style={{ paddingLeft: '40px' }}><b>Level: Beginner</b></td>
7+ <td style={{ paddingLeft: '40px' }}><b>Last Updated: October 2025</b></td>
8+ </tr >
9+ </table >
10+ </h3 >
211
312___
413
514## Video Tutorial
615
716
8-
917<iframe width =" 560 " height =" 315 " src =" https://youtube.com/embed/YzdAWnOWqpw?si=awz7ANnzGV2j_P0b " frameborder =" 0 " allow =" accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share " referrerpolicy =" strict-origin-when-cross-origin " allowfullscreen ></iframe >
1018
19+ ### Why is the setup needed ?
20+
21+ Google Cloud Storage (GCS), BigQuery, and Google Sheets API setup is required for the below reasons:
22+
23+ - Store and retrieve chatbot data (including media files like images, PDFs, and audio).
24+ - Analyze chatbot interactions using BigQuery.
25+
26+
27+ ### Prerequisites
28+
29+ Before starting, make sure you have:
1130
31+ - A Google account (preferably linked to your organisation).
32+
33+ - A valid phone number and payment details for Google Cloud billing.
34+
35+ - Legal documents of your for verification.
36+
37+ ### Setup
38+
39+ ** The overall setup includes:**
40+
41+ Create Google Cloud Account → Enable Billing → Create Project → Enable APIs→ Create Storage Bucket → Add Service Account Key → Link with Glific
42+
43+ ### Step 1: Create a Google Cloud Account
1244
13451 . Go to [ Google Cloud Console] ( https://console.cloud.google.com ) and sign in with your Gsuite account.
1446
1951
20523 . Click on ` TRY FOR FREE ` and fill in Billing details.
2153
54+ - Google provides USD 300 free credits valid for 90 days.
55+
56+
57+ - Once credits expire, you must switch to a paid plan.
58+
59+
60+ - If not upgraded, the syncing of data will stop working.
61+
62+
2263
2364<img width =" 587 " alt =" Screenshot 2024-12-18 at 2 06 16 PM " src =" https://github.com/user-attachments/assets/084408f7-70cb-415c-bab1-54b488e538da " />
2465
66+
67+
25684 . Select ` Country ` and check to agree to terms and conditions.
2669
2770<img width =" 580 " alt =" Screenshot 2024-12-18 at 2 12 09 PM " src =" https://github.com/user-attachments/assets/0c9949e4-0a84-48f4-874b-e06ce8915f9b " />
@@ -52,63 +95,66 @@ This whole process of account information and payment information verification w
5295
5396<img width =" 563 " alt =" image " src =" https://github.com/user-attachments/assets/f7ea826a-d407-4fc8-b016-aa3d92e0dc69 " />
5497
98+ ### Step 2: Create a New Project
5599
56- 7 . Click ` My Project ` in the top bar to create a new project.
100+ 1 . Click on ` My Project ` in the top bar to create a new project.
57101
58102
59103<img width =" 545 " alt =" image " src =" https://github.com/user-attachments/assets/b80be6e4-5351-4a8c-ac21-ce9974b7e7fa " />
60104
61105
62- 8 . Click on ` New Project ` at the top right corner.
106+ 2 . Click on ` New Project ` at the top right corner.
63107
64108
65109<img width =" 1468 " alt =" Screenshot 2024-12-18 at 2 22 14 PM " src =" https://github.com/user-attachments/assets/63cee8e1-c171-478c-bb85-734e40542b04 " />
66110
67111
68- 10 . Fill in your project details and click on the ` CREATE ` button. Once the new project is created, select it, and in the top search bar:
112+ 3 . Fill in your project details and click on the ` CREATE ` button. Once the new project is created, select it, and in the top search bar:
69113
70114![ image] ( https://user-images.githubusercontent.com/32592458/212659618-d639b26f-f998-4f78-97f5-09c25a2d210c.png )
71115
72116
73117<img width =" 560 " alt =" image " src =" https://github.com/user-attachments/assets/9576010a-f8dd-44e4-9be1-2d9bd23c8087 " />
74118
75119
120+ ### Step 3: Enable Required APIs
76121
77122
123+ 1 . In the left menu, go to APIs & Services → Library.
78124
79- - Type ` BigQuery API ` and ` enable ` it if it’s not already enabled. If enabled, it will show as ` Manage ` .
125+ 2 . Type ` BigQuery API ` and ` enable ` it if it’s not already enabled. If enabled, it will show as ` Manage ` .
80126
81127<img width =" 589 " alt =" image " src =" https://github.com/user-attachments/assets/2594643e-f006-405f-b2c8-a02ab7c2fad7 " />
82128
83- - Similarly, search for ` Google Sheets API ` and ` enable ` it if it’s not already enabled. If enabled, it will show as ` Manage ` .
129+ 3 . Similarly, search for ` Google Sheets API ` and ` enable ` it if it’s not already enabled. If enabled, it will show as ` Manage ` .
84130
131+ ### Step 4: Create a Storage Bucket
85132
86-
87- 11 . Select ` Cloud Storage ` and the ` Buckets ` from the side panel of Google Cloud Console Dashboard
133+ 1 . Select ` Cloud Storage ` and the ` Buckets ` from the side panel of Google Cloud Console Dashboard
88134
89135
90136<img width =" 1462 " alt =" Screenshot 2024-12-18 at 2 24 31 PM " src =" https://github.com/user-attachments/assets/5973b443-e108-448f-bbc2-6411189ee649 " />
91137
92138
93- 12 . Click on ` +CREATE ` button to create a bucket to store data
139+ 2 . Click on ` +CREATE ` button to create a bucket to store data
94140
95141
96142![ image] ( https://user-images.githubusercontent.com/32592458/212659921-587ddafc-1d15-4e8c-849c-3b087c987dec.png )
97143
98- 13 . Enter the name of the bucket to be created and the preferred data location where data will be stored
144+ 3 . Enter the name of the bucket to be created and the preferred data location where data will be stored
99145
100146![ image] ( https://user-images.githubusercontent.com/32592458/212659958-a2f60758-3580-4ebd-a2a6-ecd2d9c9ee97.png )
101147
102- 14 . Choose the preferred plan for storage and access control type and click on the ` CREATE ` button.
148+ 4 . Choose the preferred plan for storage and access control type and click on the ` CREATE ` button.
103149
104150![ image] ( https://user-images.githubusercontent.com/32592458/212659975-fa03ee09-ce26-4126-a12d-67533c64f2af.png )
105151
106- 15 . A new bucket is created.
152+ 5 . A new bucket is created.
107153
108154![ image] ( https://user-images.githubusercontent.com/32592458/212659992-4e172f37-b99d-43c0-bd1c-42169b90d1c5.png )
109155___
110156
111- ## Making bucket Public
157+ ### Making bucket Public
112158
1131591 . Once Bucket is created, Open the bucket and click on ` Permissions ` .
114160
@@ -122,41 +168,45 @@ ___
1221683 . Under ` add principle ` , tab choose ` allUsers ` and choose a role as ` Storage Admin ` .
123169
124170
125- ![ image] ( https://user-images.githubusercontent.com/32592458/212660108-74a4e900-2852-41fe-ae95-e8e2adaf81fc.png )
126-
127-
1281714 . Click on ` save ` open and a pop-up will come for confirmation of making the bucket publicly accessible.
129172
1301735 . Click on ` ALLOW PUBLIC ACCESS `
131174
132175![ image] ( https://user-images.githubusercontent.com/32592458/212660135-9f33ac04-1b9c-4415-90b3-766ee23df40c.png )
133176
134- 6 . Select ` IAM & Admin ` and then ` Service Accounts ` from the side panel of Google Cloud Console Dashboard
177+ ### Step 5: Create Service Account & Key
178+
179+
180+ 1 . Select ` IAM & Admin ` and then ` Service Accounts ` from the side panel of Google Cloud Console Dashboard
135181
136182<img width =" 478 " alt =" image " src =" https://github.com/user-attachments/assets/a3b8cc7c-caa8-4737-8c9e-04a88bb3ae88 " />
137183
138- 7 . Click + Create Service Account, enter the details, and click Create and Continue.
184+ 2 . Click + Create Service Account, enter the details, and click Create and Continue.
139185
140186<img width =" 765 " alt =" image " src =" https://github.com/user-attachments/assets/d2db4ba3-2066-4128-a878-8749def079dd " />
141187
142188
143- 8 . Grant this service account access to the project, ensuring it has Owner access as well. Click Done.
189+ 3 . Grant this service account access to the project, ensuring it has Owner access as well. Click Done.
144190
145191<img width =" 765 " alt =" image " src =" https://github.com/user-attachments/assets/b64b0d27-0cd4-4e38-9c4c-c1b4869b9e26 " />
146192
147193<img width =" 789 " alt =" image " src =" https://github.com/user-attachments/assets/26e5a8ec-250a-4ea4-b74d-8eedfd98a383 " />
148194
149- 9 . Click on the three-dot dropdown next to the service account, then select Manage Keys.
195+ 4 . Click on the three-dot dropdown next to the service account, then select Manage Keys.
150196
151197<img width =" 744 " alt =" image " src =" https://github.com/user-attachments/assets/783acd14-b35e-46c8-9adb-ebb3cee197f9 " />
152198
153- 10 . Click Add Key, select JSON as the key type, and click Create.
199+ 5 . Click Add Key, select JSON as the key type, and click Create.
154200
155201<img width =" 685 " alt =" image " src =" https://github.com/user-attachments/assets/981bf5e8-025c-4f64-9c66-dbe9cdb29df1 " />
156202
157203<img width =" 529 " alt =" image " src =" https://github.com/user-attachments/assets/6d190658-b130-45a0-a261-5d7e0dd74e3b " />
158204
159- 11 . Save the downloaded JSON file and copy its content.
205+ 6 . Save the downloaded JSON file and copy its content.
206+
207+ Please Note - Save this JSON file securely. You will upload it to Glific later.
208+ The JSON key is what authenticates Glific to access your data.
209+
160210
161211## Integrate Google Cloud Storage with Glific
162212
0 commit comments