> ## Documentation Index
> Fetch the complete documentation index at: https://support.i.moneyforward.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Cloudflare

> Integration guide for Cloudflare.

## Supported Features

<Badge color="blue">Account Deletion</Badge> <Badge color="blue">Account Creation</Badge>

## Prerequisites

### How to Log In to Cloudflare

Go to the [Cloudflare login page](https://dash.cloudflare.com/login) and enter your email address and password to log in.

<img src="https://mintcdn.com/moneyforwardi/yRr9M1Mo9PbmsShv/images/integrations/7sn4txfknp/1656393709035-image.png?fit=max&auto=format&n=yRr9M1Mo9PbmsShv&q=85&s=c652a5bc946ef9efece68f5a8d5bd8f9" alt="Cloudflare login screen" width="431" height="363" data-path="images/integrations/7sn4txfknp/1656393709035-image.png" />

### How to Obtain the Workspace Key

After logging in to **Cloudflare**, **part of the URL serves as the workspace key**. Save it for later.

`https://dash.cloudflare.com/`**`workspace key`**

<img src="https://mintcdn.com/moneyforwardi/yRr9M1Mo9PbmsShv/images/integrations/7sn4txfknp/2022-03-07-171804.png?fit=max&auto=format&n=yRr9M1Mo9PbmsShv&q=85&s=5c29c802dcc18167c1a6259bd9ff1a86" alt="Obtain workspace key from the URL" width="1014" height="403" data-path="images/integrations/7sn4txfknp/2022-03-07-171804.png" />

### How to Obtain the Access Key

Click **My Profile** from the person icon in the upper right.

<img src="https://mintcdn.com/moneyforwardi/yRr9M1Mo9PbmsShv/images/integrations/7sn4txfknp/2022-03-07-172307.png?fit=max&auto=format&n=yRr9M1Mo9PbmsShv&q=85&s=610250b9b42245bf2824bdd8fdb49d5c" alt="Select My Profile" width="1171" height="337" data-path="images/integrations/7sn4txfknp/2022-03-07-172307.png" />

Select **API Tokens** from the menu on the right side of the page and click **Create Token**.

<img src="https://mintcdn.com/moneyforwardi/yRr9M1Mo9PbmsShv/images/integrations/7sn4txfknp/2022-03-07-173003.png?fit=max&auto=format&n=yRr9M1Mo9PbmsShv&q=85&s=b46baf527955349379fab73372b6e0c7" alt="Create an API token" width="1603" height="803" data-path="images/integrations/7sn4txfknp/2022-03-07-173003.png" />

On the next screen, you will create a **Custom Token**. Click **Get started**.

<img src="https://mintcdn.com/moneyforwardi/yRr9M1Mo9PbmsShv/images/integrations/7sn4txfknp/2022-03-07-173509.png?fit=max&auto=format&n=yRr9M1Mo9PbmsShv&q=85&s=849e0a3091f1aae0d14678fb87053911" alt="Select Custom Token" width="736" height="878" data-path="images/integrations/7sn4txfknp/2022-03-07-173509.png" />

On the next screen, enter any **token name** (e.g., your company name).
**add the following 2 permissions**, and click **Proceed to Summary**.

| Item    | Setting          | Permission |
| ------- | ---------------- | ---------- |
| Account | Account Settings | Read (\*1) |
| User    | User Details     | Read (\*1) |

<Info>
  (\*1) If you want to use the account deletion feature, select **Edit**.
</Info>

[Delete/Deactivate Service Accounts in Admina](/en/it-management/retired/zw9trbb1wm-deprovisioning)

<img src="https://mintcdn.com/moneyforwardi/yRr9M1Mo9PbmsShv/images/integrations/7sn4txfknp/2022-03-07-174810.png?fit=max&auto=format&n=yRr9M1Mo9PbmsShv&q=85&s=b6c89f905c2f19ff6f699e6e121f50df" alt="Configure access permissions" width="810" height="891" data-path="images/integrations/7sn4txfknp/2022-03-07-174810.png" />

Review the summary of the token to be created and click **Create Token**.

<img src="https://mintcdn.com/moneyforwardi/yRr9M1Mo9PbmsShv/images/integrations/7sn4txfknp/2022-03-07-175440.png?fit=max&auto=format&n=yRr9M1Mo9PbmsShv&q=85&s=d49a7d8dcf24d4531114351b7946e653" alt="Create token" width="546" height="331" data-path="images/integrations/7sn4txfknp/2022-03-07-175440.png" />

The **API token** will be created. This is the **access key**, so save it.

<Info>
  **This access key is only displayed once, so be sure to save it.**
</Info>

<img src="https://mintcdn.com/moneyforwardi/yRr9M1Mo9PbmsShv/images/integrations/7sn4txfknp/2022-03-07-175733.png?fit=max&auto=format&n=yRr9M1Mo9PbmsShv&q=85&s=a9d6d903a8289df8905459a825fb32b0" alt="Save the access key" width="983" height="511" data-path="images/integrations/7sn4txfknp/2022-03-07-175733.png" />

## Integration Setup

In the MoneyForward Admina integrations screen, search for **Cloudflare**.

<img src="https://mintcdn.com/moneyforwardi/yRr9M1Mo9PbmsShv/images/integrations/7sn4txfknp/2022-03-07-180135.png?fit=max&auto=format&n=yRr9M1Mo9PbmsShv&q=85&s=36f6251ebc277ed10e736c01be5b567f" alt="Search for Cloudflare in Admina" width="943" height="489" data-path="images/integrations/7sn4txfknp/2022-03-07-180135.png" />

Enter the **access key** and **workspace key** obtained in the previous steps, then click **Connect**.

<img src="https://mintcdn.com/moneyforwardi/yRr9M1Mo9PbmsShv/images/integrations/7sn4txfknp/clean-shot-2021-10-06-at-12-39-012-x.png?fit=max&auto=format&n=yRr9M1Mo9PbmsShv&q=85&s=fb2fe6232113bc72bf89dc3762a91d1b" alt="Enter the access key and workspace key" width="860" height="846" data-path="images/integrations/7sn4txfknp/clean-shot-2021-10-06-at-12-39-012-x.png" />

Once the integration with Cloudflare is successful, registered user information will appear in the account list.

If the integration does not complete successfully.
Go to the Status tab on the integrations screen, click **Edit**, and try connecting again.

If the issue persists, please contact us via chat.

For an overview of the Cloudflare integration, see the [integration page](http://admina.moneyforward.com/en/integrations/cloudflare).
