I am trying to configure agora.io plugin by zeroqode:
Agora Streaming & Video Conference Plugin | Bubble
I am trying to understand what are the IDs, certificates and authorizations necessary and I THINK I got it (if anyone could confirm, would be AWESOME)
I am creating this post for future people having the same problem.
For the IDs, according to this post, you need to create two projects in agora.io:
- App ID + Certificate + Token , you get the Agora ID and Certificate keys, which are needed for the Streaming feature in the plugin.
- App ID, you get the Video Calls ID key, which is needed for the video calls feature in the plugin.
Like in this image (do the project creation from the projects page in agora.io):
I did it, but I ended up creating a certificate for option 2) as well to use as “Video conference certificate”
This way, we can put as following:
Streaming App ID: option “1” app id
Video Conference App ID: option “2” app id
Video Conference Certificate: option “1” certificate
Streaming Certificate: option “2” certificate
Authorization (shared headers): see bellow
For Authorization (shared headers)
This is what chatGPT gave me, which seems correct:
To configure the Zeroqode Agora Streaming & Video Conferencing plugin, you need to set up the “Authorization (Shared header)” correctly. Here’s how you can obtain and configure it:
- Generate Agora RESTful API Credentials:
- Log in to your Agora Console.docs.agora.io
- Navigate to “Developer Toolkit” > “RESTful API”.docs.agora.io
- Click “Add a secret” to generate a new set of credentials. This will provide you with a Customer ID and a Customer Secret.docs.agora.io+1docs.zeroqode.com+1
- Important: Download and securely store the
key_and_secret.txt
file, as the Customer Secret is displayed only once. docs.agora.io
- Create the Authorization Header:
- Combine your Customer ID and Customer Secret in the format
CustomerID:CustomerSecret
.docs.agora.io+1docs.zeroqode.com+1 - Encode this combined string using Base64 encoding.forum.zeroqode.com+2docs.agora.io+2docs.zeroqode.com+2
- The resulting encoded string will be used as the “Authorization (Shared header)” in the plugin settings.For example, if your Customer ID is
abc123
and your Customer Secret isdef456
, the combined string isabc123:def456
. Encoding this string in Base64 yieldsYWJjMTIzOmRlZjQ1Ng==
.
- Configure the Plugin in Bubble:
- In your Bubble application, go to the plugin settings for the Agora Streaming & Video Conferencing plugin.zeroqode.com+6forum.zeroqode.com+6forum.bubble.io+6
- Locate the field for “Authorization (Shared header)”.
- Enter the Base64-encoded string prefixed by the word "Basic ". Using the previous example, you would enter:
Basic YWJjMTIzOmRlZjQ1Ng==
.
By following these steps, you should be able to configure the “Authorization (Shared header)” for the Zeroqode Agora plugin successfully.
AGAIN: I just discovered all this and will start testing with the plugin, if anyone could confirm this steps arae correct, I’d appreciate
EDIT: I can onfirm now this works