> ## 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.

# Discourse

> How to integrate with Discourse. This explains the full process, from getting an API key through to completing the integration.

## Prerequisites

### Getting your API key

1. After logging in to Discourse, select **Admin** from the left sidebar.

   <img src="https://mintcdn.com/moneyforwardi/SZKfkclEmTw6lE03/images/integrations/discourse/admin-menu.png?fit=max&auto=format&n=SZKfkclEmTw6lE03&q=85&s=c2840e6ba1d09aabfebcbee2e8f9a135" alt="Sidebar menu" width="566" height="706" data-path="images/integrations/discourse/admin-menu.png" />

2. Expand **Advanced**, then select **API keys**.

   <img src="https://mintcdn.com/moneyforwardi/SZKfkclEmTw6lE03/images/integrations/discourse/advanced-settings.png?fit=max&auto=format&n=SZKfkclEmTw6lE03&q=85&s=6ffce4cb26b1fe678754f5ecfdb3c3b3" alt="Advanced settings menu" width="556" height="722" data-path="images/integrations/discourse/advanced-settings.png" />

3. On the **API keys** screen, click **Add API key**.

   <img src="https://mintcdn.com/moneyforwardi/SZKfkclEmTw6lE03/images/integrations/discourse/api-keys.png?fit=max&auto=format&n=SZKfkclEmTw6lE03&q=85&s=4b0a5987fc3c40cb30f8b481916aef4a" alt="API keys screen" width="1920" height="783" data-path="images/integrations/discourse/api-keys.png" />

4. Enter any **Description**, set **User level** to **All users** and **Scope** to **Global**, then click **Save**.

   <img src="https://mintcdn.com/moneyforwardi/SZKfkclEmTw6lE03/images/integrations/discourse/create-api-key.png?fit=max&auto=format&n=SZKfkclEmTw6lE03&q=85&s=d2c01c97181036162cdbd5d9647b3578" alt="Create API key screen" width="856" height="848" data-path="images/integrations/discourse/create-api-key.png" />

5. Copy and save the API key shown. The API key is shown only on this screen, so be sure to save it now.

   <img src="https://mintcdn.com/moneyforwardi/SZKfkclEmTw6lE03/images/integrations/discourse/api-key-issued.png?fit=max&auto=format&n=SZKfkclEmTw6lE03&q=85&s=025c082add974d024ea6f07ead235177" alt="API key issued screen" width="1536" height="790" data-path="images/integrations/discourse/api-key-issued.png" />

## Setting up the integration

1. On the integration screen, search for **Discourse**.

2. Enter the API key from the previous step, then click **Connect**.

3. Once the integration with Discourse succeeds, registered user information appears in the account list. If it doesn't complete successfully, first try the steps in [Troubleshooting failed SaaS integrations](/en/it-management/saas-management/93nahw45is-trouble). If that doesn't resolve it, check [Information to provide](/en/it-management/saas-management/93nahw45is-trouble#info-to-provide) and contact [support](/en/contact-support).
