Meeting Title: ABC x Brainforge - Google Chat Integration Date: 2025-02-28 Meeting participants: Miguel De Veyra, Janna Wong, Tim
WEBVTT
1 00:02:47.120 ⇒ 00:02:48.110 Miguel de Veyra: Hate them.
2 00:02:49.750 ⇒ 00:02:50.550 Tim: Good morning!
3 00:02:50.990 ⇒ 00:02:51.720 Miguel de Veyra: Morning.
4 00:02:52.340 ⇒ 00:02:56.259 Miguel de Veyra: Wait. Let me just message, Jana. Make sure she joins the call.
5 00:04:08.720 ⇒ 00:04:09.710 Miguel de Veyra: Hey, guys?
6 00:04:09.870 ⇒ 00:04:19.880 Miguel de Veyra: So yeah, hey, Tim, this is Jana. She’s primarily the one who worked on integrating the bot to Google.
7 00:04:22.010 ⇒ 00:04:22.640 Tim: Hi! There!
8 00:04:23.750 ⇒ 00:04:29.129 Miguel de Veyra: Yeah. So, Janna, if you could show us, I know you’re currently creating like a loom video.
9 00:04:29.549 ⇒ 00:04:36.500 Miguel de Veyra: If you could show them on how we implemented it, because ideally, we want to deploy it today, or if not early next week.
10 00:04:38.650 ⇒ 00:04:42.480 Janna Wong: Sounds good let me share my screen for a bit.
11 00:04:45.740 ⇒ 00:04:46.400 Janna Wong: No.
12 00:04:48.560 ⇒ 00:04:50.099 Miguel de Veyra: Do I have to allow your.
13 00:04:50.740 ⇒ 00:04:51.950 Janna Wong: Can you see my screen.
14 00:04:52.800 ⇒ 00:04:53.770 Miguel de Veyra: Oh, yeah. Yeah.
15 00:04:53.770 ⇒ 00:04:58.829 Janna Wong: Okay, nice. So for this one, wait, let me, what is this?
16 00:04:59.320 ⇒ 00:05:00.110 Janna Wong: Okay?
17 00:05:00.260 ⇒ 00:05:04.149 Janna Wong: So, okay, can you see the cloud run right.
18 00:05:04.380 ⇒ 00:05:05.140 Miguel de Veyra: Yeah, yeah.
19 00:05:05.140 ⇒ 00:05:12.319 Janna Wong: Okay. So for this one, you’ll just need to go through Google Cloud, this link. So I’ll send it in the chat.
20 00:05:12.590 ⇒ 00:05:20.209 Janna Wong: And then, once that is done. Basically, you’ll see like a create
21 00:05:20.600 ⇒ 00:05:23.049 Janna Wong: project here and the new project.
22 00:05:23.380 ⇒ 00:05:32.940 Janna Wong: and then you’ll decide on what the name is. Gonna be so for this instance, I’ve already created a project. So it’s Brainforge. And then
23 00:05:33.200 ⇒ 00:05:36.150 Janna Wong: let’s go through this one. And then
24 00:05:36.320 ⇒ 00:05:38.819 Janna Wong: Api and services just click on that.
25 00:05:40.240 ⇒ 00:05:42.147 Janna Wong: Let me know if I’m too fast.
26 00:05:42.630 ⇒ 00:05:45.809 Janna Wong: So just click on Google chat.
27 00:05:47.280 ⇒ 00:06:02.059 Janna Wong: So that you’ll need to enable the Google Chat Api services. So in this case it is install if it’s the 1st time. So this one is manage, and because it’s already installed. So after that, once that is done, you’ll just need to go through
28 00:06:03.340 ⇒ 00:06:14.290 Janna Wong: Google Cloud run, you can right click and click on a new tab so that you you don’t need to exit out of this page. So once that is done, you’ll go through here and then write a function.
29 00:06:15.720 ⇒ 00:06:35.419 Janna Wong: Then once you click on, write a function, you’ll see an inline editor to create a function. Just add, like a service name that you want, and then the region is, since it’s us. So it’s central. And then for here the runtime should be python, so just click on python, and then just click on the latest one.
30 00:06:35.550 ⇒ 00:06:55.169 Janna Wong: and then the rest. I think you’ll need the billing as well so that you could create the function. So from there, just click on create. So I’m not gonna click on create, because it’s gonna make a new one. So for this one once you create that, it will pop out something like this. So just go through the source
31 00:06:57.610 ⇒ 00:07:01.719 Janna Wong: and then just copy and paste this code that I’m gonna send
32 00:07:02.673 ⇒ 00:07:04.779 Janna Wong: I can send it through the chat. So.
33 00:07:04.780 ⇒ 00:07:06.399 Miguel de Veyra: Send it via email.
34 00:07:07.010 ⇒ 00:07:08.760 Janna Wong: Oh, yeah, via email as well. So.
35 00:07:08.760 ⇒ 00:07:09.230 Miguel de Veyra: Yeah.
36 00:07:09.800 ⇒ 00:07:12.549 Janna Wong: Is it? Okay? I’ll send it to you, Mika.
37 00:07:13.030 ⇒ 00:07:13.720 Miguel de Veyra: Okay. Sure.
38 00:07:13.720 ⇒ 00:07:25.140 Janna Wong: Okay? And then that’s the code for domain.py, and then for the requirements it’s going to be this. So wait. I’ll also send it to you, Miguel, so that you can send in the email
39 00:07:26.350 ⇒ 00:07:36.789 Janna Wong: so that. And then, once that is done, you’ll see, save and deploy here above, and then just make sure that the function entry point is handle chat.
40 00:07:36.900 ⇒ 00:07:48.029 Janna Wong: So once you save that it will automatically run then you can see the check here once it’s successful, and then just make sure. Here in the security
41 00:07:48.450 ⇒ 00:07:54.019 Janna Wong: I’ll just leave, and it’s allow, allow on on ticket, on
42 00:07:54.900 ⇒ 00:08:07.990 Janna Wong: invocation, so that everyone like can access them in the chat. So after that, once that is done, you’ll need to go back to the Api services in the Google chat and then go through the configuration.
43 00:08:10.680 ⇒ 00:08:26.420 Janna Wong: And then, you can put any name to your chat bot. So in this case it’s just ABC Bot. And then the avatar URL is like a deployed or like a Internet version of like an image that you want. So this is just a sample. So
44 00:08:26.470 ⇒ 00:08:50.319 Janna Wong: you can add descriptions as well. And then for the interactive features you need to click on enable interactive features so that oh, sorry, so that you can add them one on one or direct messages, and also for so for the chat. But to join in spaces or groups, and then for the connection settings. You’ll need to click on Http endpoint. And then this one. And then basically, this one is the
45 00:08:50.400 ⇒ 00:08:57.579 Janna Wong: this one above. You’ll just need to copy it after it. It’s done deploying. So copy that and then paste it here
46 00:08:57.720 ⇒ 00:09:16.090 Janna Wong: and then for below, just click on visibility check and then put your emails for those who want to access it, and then just click on, save. So that’s how the back end works for that. And then, once it’s done you can access it here in the Google Chat, just click on
47 00:09:16.370 ⇒ 00:09:27.939 Janna Wong: new chat and then click on basically the name of the bot. They’re gonna search is the one the name that you’re gonna put here. So for this instance, is ABC bot. So ABC bot
48 00:09:29.380 ⇒ 00:09:46.559 Janna Wong: this one. So once it’s added 1st time added to your like chat in the M. So you’ll see like this, it will high, and then you just need to directly ask questions to it. So, for example, what is chem free, and then it will respond to you. And then.
49 00:09:47.710 ⇒ 00:09:49.492 Janna Wong: oh, let’s wait for a bit.
50 00:09:50.130 ⇒ 00:09:51.080 Janna Wong: So
51 00:09:53.200 ⇒ 00:10:04.959 Janna Wong: okay, it will respond to you. So that’s how it works for vms. And then, if you want it to be in a space like in a group chat, you can create a space. So, for example, this one is test
52 00:10:05.820 ⇒ 00:10:07.050 Janna Wong: and then create.
53 00:10:07.300 ⇒ 00:10:11.629 Janna Wong: No, it’s already created sorry. That’s a so create.
54 00:10:11.820 ⇒ 00:10:19.949 Janna Wong: And then, if you want to add, people, just add members and then view apps to add the bot. So you can just click on that.
55 00:10:20.970 ⇒ 00:10:42.159 Janna Wong: So yeah, it’s gonna prompt you this for our thinking, for your adding. So yeah. And then one important thing to note here is that if you’re in a space, basically, you need to mention the bot. So for example, this one so that it will respond to your question. So let’s try what is camp free as well for this one, so
56 00:10:42.350 ⇒ 00:10:49.129 Janna Wong: you’ll wait for the respond as well, so that the bot will know that it’s the one you’re talking to. So yeah.
57 00:10:50.000 ⇒ 00:10:51.719 Janna Wong: so yeah, that’s how this works.
58 00:10:54.010 ⇒ 00:10:57.019 Janna Wong: I also created a long video, if it’s too fast.
59 00:10:57.320 ⇒ 00:11:03.480 Tim: No, no, I I followed it. Is there. Is there an Api key that I need to call into your back end? Or will that be included in the code snippet that gets sent over.
60 00:11:04.140 ⇒ 00:11:04.860 Miguel de Veyra: Already included.
61 00:11:04.860 ⇒ 00:11:06.309 Miguel de Veyra: And the code. Yeah.
62 00:11:06.710 ⇒ 00:11:07.300 Tim: Okay.
63 00:11:07.300 ⇒ 00:11:15.699 Miguel de Veyra: I’m writing it now in the email. So yeah, Tim, would you like us to create also a loom video, just to, you know some sort of a guide.
64 00:11:16.406 ⇒ 00:11:23.350 Tim: You can if you like. I’m I’m pretty well familiar with all of the parts that we just touched. So I should be able to do that without a problem.
65 00:11:23.350 ⇒ 00:11:33.840 Miguel de Veyra: Okay. There was. There was a SIM. There was a caveat that we got stuck on because Jana obviously wasn’t up with the highest permissions. So I assume you do in ABC.
66 00:11:33.940 ⇒ 00:11:35.690 Miguel de Veyra: Because I think it was.
67 00:11:35.690 ⇒ 00:11:36.249 Tim: I do. Yeah.
68 00:11:36.250 ⇒ 00:11:42.449 Miguel de Veyra: Deployment. We couldn’t deploy because she she didn’t have the permissions, but Utham deployed it, and it all worked out.
69 00:11:42.970 ⇒ 00:11:51.450 Tim: Yeah, that should be fine. So we’re not pulling any of the local resources. We’re only exposing the chat Api, and then any local resources that are being accessed. You are doing through your back end, correct.
70 00:11:51.450 ⇒ 00:11:51.870 Janna Wong: Yep.
71 00:11:51.870 ⇒ 00:11:57.639 Miguel de Veyra: Oh, yeah, I think the other thing is, if we need to make changes, Jana, I think you should explain that too.
72 00:11:58.971 ⇒ 00:12:06.290 Janna Wong: If we need to make changes, I think we’ll just need to give you the code, and then you’ll need to copy and paste it on your end.
73 00:12:06.600 ⇒ 00:12:07.190 Miguel de Veyra: Okay.
74 00:12:07.190 ⇒ 00:12:09.810 Tim: Yeah, we’re not tying it back to any source control or anything, just manually updating.
75 00:12:10.090 ⇒ 00:12:10.680 Janna Wong: And.
76 00:12:10.680 ⇒ 00:12:14.270 Miguel de Veyra: Yes, I’m not sure if there’s a way to do source control there, I’m not sure there is.
77 00:12:14.590 ⇒ 00:12:18.089 Tim: If if not, it’s fine. If we just get kind of it’s fine.
78 00:12:18.090 ⇒ 00:12:19.280 Miguel de Veyra: Okay? Sure.
79 00:12:19.780 ⇒ 00:12:24.799 Miguel de Veyra: Okay, yeah. Pretty quick meeting. Is there anything else you want to clarify? Tim.
80 00:12:25.500 ⇒ 00:12:34.999 Tim: No, that’s fine. Send the code over for I guess the requirements and the and the actual deploy code, and I’ll get it. What was the handle handle? Underscore chat for the endpoint.
81 00:12:35.000 ⇒ 00:12:38.919 Janna Wong: Yep, it’s and under, yeah, correct.
82 00:12:39.440 ⇒ 00:12:41.419 Tim: Okay, yeah, we should be able to make that happen pretty quick.
83 00:12:41.420 ⇒ 00:12:47.229 Miguel de Veyra: Yeah. And then I think the name that the event and the others agreed upon was Andy the anteater, or something.
84 00:12:49.500 ⇒ 00:12:50.290 Tim: Okay.
85 00:12:50.290 ⇒ 00:12:52.449 Miguel de Veyra: Okay. But okay, I’ll send it to you.
86 00:12:52.450 ⇒ 00:12:52.800 Tim: Like it works.
87 00:12:54.770 ⇒ 00:12:55.720 Tim: Thank you.
88 00:12:55.870 ⇒ 00:12:58.330 Miguel de Veyra: Okay, thanks, guys. Bye-bye, bye, bye. Have a good one.