# APIs

You can access **coherence Cloud** features from the **Unity SDK** via the **CloudService** instance, which can be acquired via the [Services](https://unityapi.coherence.io/docs/v1.6.0/api/Coherence.Cloud.PlayerAccount.Services.html#Coherence_Cloud_PlayerAccount_Services) property of a PlayerAccount object.

You can acquire a reference to a PlayerAccount first by logging in using [CoherenceCloud](https://unityapi.coherence.io/docs/v1.6.0/api/Coherence.Cloud.CoherenceCloud.html) (see [Worlds ](https://docs.coherence.io/1.7/hosting/coherence-cloud/coherence-cloud-apis/worlds)and [Rooms ](https://docs.coherence.io/1.7/hosting/coherence-cloud/coherence-cloud-apis/rooms)example code for an example), and then by using [PlayerAccount.GetMainAsync](https://unityapi.coherence.io/docs/v1.6.0/api/Coherence.Cloud.PlayerAccount.GetMainAsync.html).

Through the **CloudService** instance, you will be able to fetch the existing [Worlds](https://docs.coherence.io/1.7/hosting/coherence-cloud/manage-worlds) of your project, create new [Rooms](https://docs.coherence.io/1.7/hosting/coherence-cloud/configure-rooms), delete and fetch existing [Rooms](https://docs.coherence.io/1.7/hosting/coherence-cloud/configure-rooms), as well as access the various available [Game Services](https://docs.coherence.io/1.7/hosting/coherence-cloud/game-services).

In the subsections of this page, you will be able to find detailed usage examples of each feature from the [**CloudService** API](https://unityapi.coherence.io/docs/v1.2.0/api/Coherence.Cloud.CloudService.html).

### CoherenceBridge Cloud Settings

In the inspector of a [CoherenceBridge](https://docs.coherence.io/1.7/manual/components/coherence-bridge) instance, you will find two settings related with the **coherence Cloud**:

<figure><img src="https://content.gitbook.com/content/NGFZGdbLA4bzHQXTuDMT/blobs/1zdgtnKVc7Wa0Il85KE1/image.png" alt=""><figcaption><p>coherence Bridge Inspector</p></figcaption></figure>

* **Player Account**:
  * If set to *Auto Login As Guest*, the Cloud Service will automatically log in with the coherence Cloud using a guest player account.
  * If set to *Main User*, the Cloud Service will not log in to coherence automatically, but will connect with [*PlayerAccount.Main*](https://unityapi.coherence.io/docs/v1.6.0/api/Coherence.Cloud.PlayerAccount.Main.html) when you start logging in to coherence Cloud manually.
  * If set to *None*, the Cloud Service will not connect with coherence Cloud at all.
* *Cloud Unique ID*: Uniquely identify the Cloud Service used by this CoherenceBridge. This allows multiple Coherence Bridges to auto login as different guests on the same device, which could be useful for local multiplayer. If no Cloud Unique ID is specified for a bridge, one will be autogenerated.
