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

# Integrate with WebGL

This article explains how to integrate Unity Payment Links with the WebGL platform.

To integrate with WebGL:

1. Go to the **Build Settings** window and make sure your Unity project is set to **WebGL**. Once set, the `AppchargeConfig` file updates to display WebGL-specific configuration options.

   <img src="https://mintcdn.com/appcharge/pgQNefK6v2mrfKWg/images/sdks/unity/config_webgl_main.png?fit=max&auto=format&n=pgQNefK6v2mrfKWg&q=85&s=7654c9eb0170481eb4b2e4f9713b03ad" alt="WebGL Build Settings" width="258" data-path="images/sdks/unity/config_webgl_main.png" />

2. Your configuration settings should look like this:

   <img src="https://mintcdn.com/appcharge/pgQNefK6v2mrfKWg/images/sdks/unity/config_webgl.png?fit=max&auto=format&n=pgQNefK6v2mrfKWg&q=85&s=d4f577a8761f7158304da4d5cbcc0ea2" alt="WebGL Configurations" width="1168" height="250" data-path="images/sdks/unity/config_webgl.png" />

   <Note> By default, the configuration file is preconfigured for integration. However, you must set the required **Environment** and **Checkout Public Key** fields under **Publisher Info**. </Note>

   ## Publisher Info

   <Note> These settings can also be changed at runtime, but doing so requires [re-initializing the SDK](./initialize-the-payment-links-sdk#re-initialize-the-sdk). </Note>

   | Property            | Value    | Description                                                                                                        |
   | ------------------- | -------- | ------------------------------------------------------------------------------------------------------------------ |
   | Environment         | `Enum`   | Sets the checkout environment. Use `Sandbox` for testing and `Production` for live payments.                       |
   | Checkout Public Key | `String` | Defines the checkout public key. You can find it by going to the **Publisher Dashboard → Settings → Integration**. |
