# Cloud Code

> Write and run server-side code on a fully managed infrastructure that scales automatically to meet your traffic demands.

Cloud Code is a serverless compute service for game developers who want to run game logic securely in the cloud without managing infrastructure. Cloud Code helps you do the following:

* Keep game rules and sensitive data off the client to prevent cheating and reverse-engineering.
* Deploy updates to live games without requiring players to update their installs.
* Scale automatically to meet traffic demands, paying only for what you use.
* Integrate multiple Unity services from a single secure server-side environment.

Cloud Code manages all infrastructure for you. You write and deploy code in C# or JavaScript, then call it from your game using the Cloud Code SDK or the Cloud Code Client API.

> **Tip:**
>
> To accelerate building and operating a game with Cloud Code, go to the [Unity Skills](https://github.com/Unity-Technologies/skills) GitHub repository, then install the `build-live-game` skill into your preferred AI agent. The repository includes installation instructions.

Cloud Code integrates with the following Unity services:

* [Remote Config](/remote-config.md)
* [Cloud Save](/cloud-save.md)
* [Economy](/economy.md)
* [Leaderboards](/leaderboards.md)

For information about integrating Cloud Code with other Unity services, refer to [Integrate with Unity services (C# modules)](/cloud-code/3.0.0/modules/how-to-guides/unity-services-integration.md) and [Integrate with Unity services (JavaScript scripts)](/cloud-code/3.0.0/scripts/how-to-guides/unity-services-integration.md).

For pricing information, refer to [C# modules cost](/cloud-code/3.0.0/modules/reference/cost.md) and [JavaScript scripts cost](/cloud-code/3.0.0/scripts/reference/cost.md).

[Get started with Cloud Code](/cloud-code/3.0.0/get-started.md): Explore Cloud Code's main capabilities, fundamental concepts, available interfaces, and main workflow to start running server-side game logic.
[Server authority](/cloud-code/3.0.0/server-authority.md): Manage and enforce game logic on your server to ensure fair gameplay, prevent cheating, and maintain data integrity.
[Cloud Code C# modules](/cloud-code/3.0.0/modules/overview.md): Deploy reusable, server authoritative C# libraries with multiple entry points, type-safe client bindings, and persistent state through Stateful Cloud Code. This is the recommended way to use Cloud Code.
[Cloud Code JavaScript scripts](/cloud-code/3.0.0/scripts/overview.md): Write server-side JavaScript code and call these scripts from games built with Unity or any other client.
[Logging](/cloud-code/3.0.0/logging/overview.md): Instrument your cloud environment with structured logs to detect and debug live issues across Cloud Code scripts, modules, and Triggers.
[Use-case samples](/cloud-code/3.0.0/use-case-samples.md): Explore samples that demonstrate how to use Cloud Code with other Unity services to implement common game development solutions.
[Privacy and consent](/cloud-code/3.0.0/privacy-and-consent.md): Learn about privacy compliance requirements for Cloud Code across iOS, Android, and other regulatory standards.
