@devries-cameron20 / composio Mirror · read-only
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 21, 06:00 UTC

next
md 35 lines 2.45 KB
Rendered Raw
1 ## How do I set up custom OAuth credentials for Canva?
2
3 Use your own Canva integration when you want users to see your app's name on the consent screen and control the credentials yourself.
4
5 ### Create the Canva integration
6
7 1. Sign in to the [Canva developer portal](https://www.canva.com/developers/), open [Your integrations](https://www.canva.com/developers/integrations), and click **Create an integration**.
8
9 ![Canva developer portal Your integrations page with the Create an integration button](/images/toolkits/canva/your-integrations.webp)
10 2. Choose the integration type:
11 - **Public**: anyone on Canva can use it, but Canva must review and approve it first.
12 - **Private**: only your team can use it. Requires a Canva Enterprise plan.
13
14 ![Canva dialog to choose a Public or Private integration](/images/toolkits/canva/integration-type.webp)
15 3. Open the integration. On the **Configuration** tab, under **Credentials**, copy the **Client ID** and **Client Secret**.
16
17 ![Canva integration Configuration tab with the Credentials section](/images/toolkits/canva/credentials.webp)
18 4. On the **Authentication** tab, under **Authorized redirects**, add `https://backend.composio.dev/api/v1/auth-apps/add`. It must exactly match the `oauth_redirect_uri` field in your Composio auth config.
19 5. On the **Scopes** tab, enable the scopes your auth config will request (see below).
20 6. For a public integration, submit it for review.
21
22 ![Canva integration Submit for review checklist](/images/toolkits/canva/submit-for-review.webp)
23
24 ### Create the auth config in Composio
25
26 1. In the Composio dashboard, go to **Auth Configs**, click **Create Auth Config**, and select **Canva**.
27 2. Keep the authentication type as **OAuth2** and choose to use your own developer credentials.
28 3. Paste the **Client ID** and **Client Secret**, then click **Create Canva Auth Config**.
29 4. Click **Connect Account**, approve access in Canva, and confirm the account shows as **Active**.
30
31 See [Custom auth configs](/docs/auth-configuration/custom-auth-configs) for the general flow.
32
33 ### Scopes
34
35 The default auth config requests `asset:read`, `asset:write`, `brandtemplate:content:read`, `brandtemplate:meta:read`, `comment:read`, `comment:write`, `design:content:read`, `design:content:write`, `design:meta:read`, `folder:read`, `folder:write`, `folder:permission:write`, and `profile:read`. Edit the **Scopes** field on the auth config to request fewer, and keep it in line with the scopes enabled on the Canva integration.