---
metadata:
  - name: generator
    content: Diplodoc Platform v5.66.0
alternate:
  - https://yandex.com/dev/games/doc/en/sdk/construct-3/remote-config.md
  - https://yandex.com/dev/games/doc/ru/sdk/construct-3/remote-config.md
  - https://yandex.com/dev/games/doc/tr/sdk/construct-3/remote-config.md
  - https://yandex.com/dev/games/doc/zh/sdk/construct-3/remote-config.md
  - href: https://yandex.com/dev/games/doc/en/sdk/construct-3/remote-config.md
    type: text/markdown
    title: Markdown version
  - href: https://yandex.com/dev/games/doc/en/llms.txt?revision=r21993288
    rel: describedby
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/games/doc/en/llms.txt?revision=r21993288

# Remote configuration

<!-- 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 -->

To get a remote configuration of flags (Remote Config), use the **Fetch remote config** action together with **Player info is successfully fetched** and **Failure to fetch remote config**. We recommend requesting flags once at the start of the game.

To get values from the remote configuration, use the **Flag** expression.

## Local configuration {#local}

<!-- source: en/_includes/sdk/common-with-plugins.md -->
{% note tip %}

Always add a local configuration of flags to the game code in case the remote configuration cannot be fetched from the server (for example, due to internet connection issues).

{% endnote %}
<!-- endsource: en/_includes/sdk/common-with-plugins.md -->

To do this, use the **Set key default value** action.

## Client parameters {#client}

To describe client parameters, use the **Set client feature** action. They will be transmitted when requesting the remote configuration.

## Example of using remote configuration {#example}

![Construct 3 screenshot: remote configuration setup screen using the YandexGamesSDK plugin. A table of three columns (each cell in the third column has "+ Add action" and "+ Add..." buttons) and three rows. Row 1 — "System" settings icon, "Boot layout completed", "Yan... | Remote configuration. Set the key "someProp" to the default value "someValue" \n Yan... | Remote configuration: Set client features "featureKey" to value "featureValue" \n Yan... | Request remote configuration." Row 2 — "YandexGames...", "Remote configuration loaded", "Sys..." settings icon. | Set someProp to the value YandexGamesSDK.Flag("someKey")". Row 3 — "YandexGames...", "Remote configuration load error", empty row.](../../_images/construct-3/remote-config/example.webp)

---


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