---
metadata:
  - name: generator
    content: Diplodoc Platform v5.54.4
alternate:
  - https://yandex.com/dev/games/doc/en/sdk/cocos/install.md
  - https://yandex.com/dev/games/doc/hi/sdk/cocos/install.md
  - https://yandex.com/dev/games/doc/ko/sdk/cocos/install.md
  - https://yandex.com/dev/games/doc/ru/sdk/cocos/install.md
  - https://yandex.com/dev/games/doc/tr/sdk/cocos/install.md
  - https://yandex.com/dev/games/doc/vi/sdk/cocos/install.md
  - https://yandex.com/dev/games/doc/zh/sdk/cocos/install.md
  - href: en/sdk/cocos/install.md
    type: text/markdown
    title: Markdown version
  - href: ../../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/games/doc/en/llms.txt

# Installation

<!-- source: en/_includes/script-common.md -->
<!-- source: en/_includes/script/index-js.md -->

<!-- endsource: en/_includes/script/index-js.md -->

<!-- source: en/_includes/script/requirements-js.md -->

<!-- endsource: en/_includes/script/requirements-js.md -->

<!-- source: en/_includes/script/image-modal-js.md -->

<!-- endsource: en/_includes/script/image-modal-js.md -->
<!-- endsource: en/_includes/script-common.md -->

## Installing the Plugin from Cocos Store {#plugin-install}

You can install the plugin directly from the [Cocos Store](https://store.cocos.com/app/en/detail/5341){.external}.

## Installing the Plugin from the Repository {#install-from-repository}

After [downloading the plugin](https://github.com/yandex-games-plugins/cocos/releases/latest){.external}, open your project in Cocos Creator or create a new one. In the top panel, hover over **Extension** and select **Extension Manager**.

![](../../_images/cocos/installation/extension-manager.webp)

Next, hover over **Import Extension File (.zip)** and choose the plugin you previously downloaded from the dropdown menu.

![](../../_images/cocos/installation/import-extensions.webp)

## Template Setup {#templates-setup}

Most likely, after installing the plugin, you'll see messages similar to those shown below. This occurs because Yandex Games requires [Yandex Games SDK](../../../ru/index.md) to be imported directly into files like index.html, which appear after compilation.

![](../../_images/cocos/installation/templates-failure.webp)

To resolve this issue, visit the new Yandex Games SDK section and select the template generation option, allowing the plugin to generate the necessary templates on its own. You can also write them yourself.

If the templates compile successfully, the plugin should output a message similar to the one below in the console. This means everything is fine, and you can start working.

![](../../_images/cocos/installation/templates-success.webp)

For more detailed information: [build template setup](https://docs.cocos.com/creator/manual/en/editor/preview/browser.html){.external}, [Cocos Creator web view setup](https://docs.cocos.com/creator/manual/en/editor/preview/browser.html){.external}.


---


<!-- source: en/_includes/button-git.md -->
<a href="https://github.com/yandex-games-plugins/cocos">
  <span class="button">Repository</span>
</a>
<!-- endsource: en/_includes/button-git.md -->
