# Exercise 1.1 - Login and Setting up TFA

Navigate to your training environment URL (provided in your training preparation emails) and type the **Shield** username and password into the Shield authentication popup:

* **Username:** Refer to the email sent to you prior to the course.
* **Password:** Refer to the email sent to you prior to the course.

![Image of shield pop-up](https://1079433754-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lyh9JMywljz0CN8oT8o%2Fuploads%2Fgit-blob-9628668f571b640b4a768e9845e68a6c54785b9f%2FUnit-1-Shield-Login-2.png?alt=media)

You should now see the GovCMS login screen as shown in the screenshot below. Enter your username and password and sign in.

* **Username:** Refer to the email sent to you prior to the course
* **Password:** The password you entered after clicking on the one-time login link from the email

<figure><img src="https://1079433754-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lyh9JMywljz0CN8oT8o%2Fuploads%2FTOkYCUuiVbHlvAwZhaVK%2Fimage.png?alt=media&#x26;token=af2af6bb-0880-4344-a529-36c85f83ab97" alt=""><figcaption></figcaption></figure>

After successfully logging in, you will be redirected to a page that shows the following:

1. Prompt to setup two-factor authentication.
2. The **Admin menu**.
3. The username of the account you’re currently logged in with.

**Note:** Some elements from the screenshot below may be different, due to permissions settings.

<figure><img src="https://1079433754-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lyh9JMywljz0CN8oT8o%2Fuploads%2FW0Dw1mMDdO33wYvXfT04%2Fimage.png?alt=media&#x26;token=f6edb99b-9766-46b7-9ce3-bd1221f8792f" alt=""><figcaption></figcaption></figure>

## Setting up Two Factor Authentication (TFA)

1. Click on your name in the Admin Menu.

   <figure><img src="https://1079433754-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lyh9JMywljz0CN8oT8o%2Fuploads%2FQzj4HGX8Oz1U3zAI42YM%2Fimage.png?alt=media&#x26;token=8cfc53a1-c70b-4b55-9df1-13c2592a13db" alt=""><figcaption></figcaption></figure>

2. Click on Edit profile.

   <figure><img src="https://1079433754-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lyh9JMywljz0CN8oT8o%2Fuploads%2FbYNgqOpobVpg8Vth4seu%2Fimage.png?alt=media&#x26;token=016484fd-94a9-427e-ac22-d635e9e4848e" alt=""><figcaption></figcaption></figure>

3. Click on the TFA tab.

   <figure><img src="https://1079433754-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lyh9JMywljz0CN8oT8o%2Fuploads%2FnGifvmmJ8Nqdd8hpeTgB%2Fimage.png?alt=media&#x26;token=2cf16170-49c5-4703-b253-79e0e8125496" alt=""><figcaption></figcaption></figure>

4. Click on Email codes.

   <figure><img src="https://1079433754-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lyh9JMywljz0CN8oT8o%2Fuploads%2FuWpA9fACpv4demX9QEcD%2Fimage.png?alt=media&#x26;token=b5fa577f-7c19-48e6-a2a7-fdae1fc9823f" alt=""><figcaption></figcaption></figure>

5. The next screen will ask for your password. Enter it and click on Confirm.

   <figure><img src="https://1079433754-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lyh9JMywljz0CN8oT8o%2Fuploads%2FkbNun5rCwah9vJbvie2P%2Fimage.png?alt=media&#x26;token=a7298659-198a-4d92-a49b-cccde87c6242" alt=""><figcaption></figcaption></figure>

6. Check the box "Receive authentication code by email" and then click on Save.

   <figure><img src="https://1079433754-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lyh9JMywljz0CN8oT8o%2Fuploads%2FMteMtArYFwID4MS1FvY9%2Fimage.png?alt=media&#x26;token=3cbd186b-7b89-494a-b2a9-cabede8bdd03" alt=""><figcaption></figcaption></figure>

7. The next screen will ask if you want to "Trust this browser". This is an optional step but it's recommended to check this box if you want to bypass TFA the next time you log in. Click on Save.

8. The confirmation page will say "TFA enabled".

   <figure><img src="https://1079433754-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lyh9JMywljz0CN8oT8o%2Fuploads%2FdSsvldavgYE4WgT14jOe%2Fimage.png?alt=media&#x26;token=2b60a0a6-40f3-410b-afc2-86eab5b9b4d9" alt=""><figcaption></figcaption></figure>

**What happens if you choose not to "Trust this browser"?**

After logging in, you will be presented with the TFA page. Click on Send to receive the email code.&#x20;

If you do not click on Send, no code will be sent to your email.

<figure><img src="https://1079433754-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lyh9JMywljz0CN8oT8o%2Fuploads%2FPtji2vbf7o9SrtosrPfO%2Fimage.png?alt=media&#x26;token=3d824be0-454a-46e4-8b73-bf051130447c" alt=""><figcaption></figcaption></figure>

## The Admin Menu

The band running across the top of the page (2.) is called the “Admin menu”, and is an indication that you’re currently logged into the site (as opposed to simply visiting it as an “anonymous” user).

You may see or hear the Admin menu also referred to as **“Administration”**, **“Admin bar”**, **“Admin toolbar”**, **“Navbar”**, or simply **“Toolbar”**.

The Admin menu helps people who have logged into the site (such as site administrators, content authors/reviewers, etc.) to navigate more quickly through the various pages of the admin interface. Once logged in, it’s available in the frontend and backend of your GovCMS site.
