> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/c/canva.md).

# Canva

Canva is a collaborative design platform. OctoXLabs reads the users of your Canva team through the SCIM API and adds them to the user inventory.

## Use cases

* **Find Canva users with no directory account.** List Canva users that are not found in Active Directory. How accounts are matched depends on your user merge settings.

```
Adapters = canva AND NOT Adapters = active-directory
```

* **List Canva users by email domain.** Find accounts with an address outside your domain.

```
Adapters = canva AND NOT Email ~ <your domain>
```

## Before you begin

### Network

| Source              | Destination                                              | Port | Protocol |
| ------------------- | -------------------------------------------------------- | ---- | -------- |
| OctoXLabs connector | [www.canva.com](http://www.canva.com) (Domain parameter) | 443  | HTTPS    |

The connector always uses HTTPS. If an HTTPS proxy is set, requests go through it.

### Required permissions

| Scope or role                                                         | Permission                   | Needed for         |
| --------------------------------------------------------------------- | ---------------------------- | ------------------ |
| Team administrator or owner of Canva for Teams or Canva for Education | Generate a SCIM access token | Creating the token |

The baseline states that only team administrators and owners have access to generate a SCIM access token.

## Create credentials in Canva

{% stepper %}
{% step %}

### Open account settings

Log in to your Canva account and click the gear icon to open **Account settings**.
{% endstep %}

{% step %}

### Open SSO and provisioning

In the side menu, under your team's settings, click **SSO & provisioning**.
{% endstep %}

{% step %}

### Enable SCIM

Under SCIM, select **Enable SCIM user provisioning**.

{% hint style="warning" %}
Each time the slider is toggled, the current access token is revoked and a new token is created.
{% endhint %}
{% endstep %}

{% step %}

### Copy the token

Copy the access token and store it securely.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter   | Required | Type    | Default                               | Description                                                  |
| ----------- | -------- | ------- | ------------------------------------- | ------------------------------------------------------------ |
| Domain      | No       | String  | [www.canva.com](http://www.canva.com) | Canva host, without a scheme. The connector adds `https://`. |
| API Token   | Yes      | String  | None                                  | SCIM access token. Stored as a sensitive value.              |
| HTTPS Proxy | No       | String  | None                                  | Proxy URL, used for HTTPS requests. Advanced option.         |
| Timeout     | No       | Integer | 30                                    | Seconds to wait for an API response. Advanced option.        |

## Troubleshooting

| Error message                                                | Cause                                          | Fix                                                                                                            |
| ------------------------------------------------------------ | ---------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| Request failed with status {status} for url {url}            | The API answered with a status other than 200. | Check the token, the domain and that SCIM provisioning is enabled. A toggled slider invalidates the old token. |
| Invalid JSON response while fetching users (status={status}) | The response body is not valid JSON.           | Check the domain and any proxy in front of Canva.                                                              |

## Change history

{% hint style="info" %}
Available starting from version 5.6.11.
{% endhint %}
