> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bunny.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Discourse

> Speed up your Discourse forum with bunny.net CDN for faster page loads and improved performance.

Discourse has built-in CDN support. This guide walks you through pointing it at Bunny CDN.

<Steps>
  <Step title="Create a Pull Zone">
    Log in to your [bunny.net dashboard](https://dash.bunny.net) and open the **Add Pull Zone** page. Choose a name for your zone, then set the origin URL to your Discourse forum (for example, `discourse.example.com`).

    <Frame>
      <img src="https://mintcdn.com/bunnynet-cb9733c2/RilmGx6yE6wbeAYi/images/cdn/integrations/cms/discourse-add-zone.png?fit=max&auto=format&n=RilmGx6yE6wbeAYi&q=85&s=a945357ed5ec72bc2ef15d02a1f2a50b" alt="Creating a Pull Zone for Discourse" width="960" height="159" data-path="images/cdn/integrations/cms/discourse-add-zone.png" />
    </Frame>

    Select a pricing tier and click **Add Pull Zone**. For more detail, see [How to create your first Pull Zone](/cdn/quickstart).
  </Step>

  <Step title="Configure Discourse with your Pull Zone">
    Open your `app.yml` configuration file and find the following lines:

    ```yaml theme={null}
    ## the origin pull CDN address for this Discourse instance
    DISCOURSE_CDN_URL: https://discourse-cdn.example.com
    ```

    If they aren't present, add them below the other `DISCOURSE_` variables. Replace the `DISCOURSE_CDN_URL` value with your Pull Zone hostname.

    <Frame>
      <img src="https://mintcdn.com/bunnynet-cb9733c2/RilmGx6yE6wbeAYi/images/cdn/integrations/cms/discourse-cdn-url.png?fit=max&auto=format&n=RilmGx6yE6wbeAYi&q=85&s=3de7dc7182b56fd570b17b42520ad8da" alt="Setting DISCOURSE_CDN_URL in app.yml" width="989" height="318" data-path="images/cdn/integrations/cms/discourse-cdn-url.png" />
    </Frame>
  </Step>

  <Step title="Rebuild the Discourse container">
    Apply the new configuration by rebuilding the container:

    ```bash theme={null}
    ./launcher rebuild app
    ```

    Once the rebuild finishes, your forum is served through Bunny CDN. To confirm everything is working, see [Verify your configuration](/cdn/verify-configuration).
  </Step>
</Steps>
