# Setup

### <img src="https://1088849411-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5ukgSPDBOdbQp4FYtbz1%2Fuploads%2F9BooaofCI33U9Np5oeif%2FFrame%203%20(1).png?alt=media&#x26;token=0750b56a-a069-4759-bda9-29951f06cd30" alt="" data-size="line"> Installation <a href="#installation" id="installation"></a>

Download the latest `.zip` archive from the [GitHub release page](https://github.com/Playgama/bridge-cocos-creator) and import it into your project. To ensure proper functionality, import all files except for the `Examples` folder, which can be imported optionally. The `Examples` folder contains scenes demonstrating usage. The web-mobile and preview templates will be installed automatically. Manual installation is available in top menu `Extensions/Playgama Bridge/Install` button.

<figure><img src="https://1088849411-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5ukgSPDBOdbQp4FYtbz1%2Fuploads%2Ffmb3iXvMisdWmXebl27J%2FScreenshot%202025-05-30%20at%2000.54.54.png?alt=media&#x26;token=22deab6e-50a5-4ff8-ba81-9ead9f43157b" alt=""><figcaption></figcaption></figure>

### Build Template <a href="#config" id="config"></a>

{% hint style="danger" %}
Please use web-mobile build, because Playgama Bridge is creating templates for web-mobile and preview builds
{% endhint %}

<figure><img src="https://1088849411-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5ukgSPDBOdbQp4FYtbz1%2Fuploads%2FGsoq4EG4qO9ZQs6WoLw1%2FScreenshot%202025-06-04%20at%2014.48.01.png?alt=media&#x26;token=13c0526b-05e1-41f8-8958-a2a0fc5cb30b" alt=""><figcaption></figcaption></figure>

### <img src="https://1088849411-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5ukgSPDBOdbQp4FYtbz1%2Fuploads%2F9BooaofCI33U9Np5oeif%2FFrame%203%20(1).png?alt=media&#x26;token=0750b56a-a069-4759-bda9-29951f06cd30" alt="" data-size="line"> Config <a href="#config" id="config"></a>

In the `extensions/playgama-bridge/playgama-bridge-config.json` config file you can set up various identifiers and in-game purchases.

You can see an explanation of the file structure here: [playgama-bridge-config](https://wiki.playgama.com/playgama/sdk/playgama-bridge-config "mention").

For builds please use web-mobile build.

{% hint style="warning" %}
playgama-bridge-config.json file will automatically copied from extensions folder to web-mobile build folder after build.
{% endhint %}
