---
description: Photon Engine integration overview
---

# Quick Start

## Overview

After installing integration you can open **Photon Playgroud** scene to try Photon Engine with AI Tree.

<figure><img src="https://2203000093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGOxTM7Aj9oiVaIINrEkE%2Fuploads%2Fz7qwFt9jDZE4Yy2ycFXO%2FPhotonSampleScene.png?alt=media&#x26;token=b8265afd-61d1-4356-ae53-56d9df795a25" alt=""><figcaption><p>Photon Playgroud scene path</p></figcaption></figure>

## Start Server

To start the server (connect to the server), you must have a **Network Manager** component on the stage.&#x20;

In the **Player Template** field, you must pass the prefab of the player, which must be located in the _Resources_ folder.

<figure><img src="https://2203000093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGOxTM7Aj9oiVaIINrEkE%2Fuploads%2FL9wWcb5GLEG5ZB6OPumS%2FNetworkManager.png?alt=media&#x26;token=108438ba-e493-41b9-8d4e-856b3281e082" alt=""><figcaption><p>Network Manager component</p></figcaption></figure>

## Demo Player

The **Target Controller** component is used to move the target. It must be disabled on clients and leave control only to the server. To do this, use the **Network Configurator** component and disable the component on clients.

<figure><img src="https://2203000093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGOxTM7Aj9oiVaIINrEkE%2Fuploads%2FHHUOxuFpmxSN4khClDOc%2FNetworkConfigurator.png?alt=media&#x26;token=ee28f740-0290-4e6f-aabe-3142bbf05f21" alt=""><figcaption><p>Network Configurator component</p></figcaption></figure>

## AI Entities

To properly configure network bots, you need to disable the **Behaviour Runner** and **AI Perception** components. They need to be run only on the server. To do this, use the **Network Configurator** component and disable these components on clients.

<figure><img src="https://2203000093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGOxTM7Aj9oiVaIINrEkE%2Fuploads%2FXRw2YWYg9Vsvgl0GXURJ%2FAIEntities.png?alt=media&#x26;token=e6a8bcf6-19ae-4e28-9ba1-04dabe1c5442" alt=""><figcaption><p>Setup AI via Network Configurator</p></figcaption></figure>

## AI Detection Signal

To synchronize the **AI Detection Signal** component, it is necessary to add the **AIDetectionSignalSync** component in the together.

<figure><img src="https://2203000093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGOxTM7Aj9oiVaIINrEkE%2Fuploads%2FxqGHkTcpIQ5CA4jJNYux%2FAIDetectionSignalSync.png?alt=media&#x26;token=6883d410-f592-4562-addb-0ee8cc33abc6" alt=""><figcaption><p>AI Detection Signal Sync component</p></figcaption></figure>
