> For the complete documentation index, see [llms.txt](https://mirror-networking.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mirror-networking.gitbook.io/docs/manual/components/network-authenticators/basic-authenticator.md).

# Basic Authenticator

Mirror includes a Basic Authenticator in the Mirror / Authenticators folder which just uses a simple username and password.

* Drag the Basic Authenticator script to the inspector of the object in your scene that has Network Manager
* The Basic Authenticator component will automatically be assigned to the Authenticator field in Network Manager

When you're done, it should look like this:

<div align="left"><img src="/files/t0K7FjEYSHZ1wGWECVcD" alt="Network Manager with Basic Authenticator assigned"></div>

<div align="left"><img src="/files/QMMH5vcHJy0wRtWLaxO1" alt="Basic Authenticator"></div>

* Server Credentials can be set at design time or runtime
* Client Credentials would be set at runtime, e.g. from UI input fields, **before** calling `NetworkManager.singleton.StartClient();`

{% hint style="info" %}
You don't need to assign anything to the event lists unless you want to subscribe to the events in your own code for your own purposes. Mirror has internal listeners for both events.
{% endhint %}
