# Sign in to the app while parked

<br />

Use the [Sign-in template](https://developers.google.com/cars/design/create-apps/apps-for-drivers/templates/sign-in-template)
to prompt the user to sign in with a PIN code (as shown below) or one of the other 3
[sign-in methods](https://developers.google.com/cars/design/create-apps/apps-for-drivers/templates/sign-in-template#methods).

Add the [Long Message template](https://developers.google.com/cars/design/create-apps/apps-for-drivers/templates/long-message-template)
to provide details such as text of the Privacy Policy or Terms of Service.
These templates are both parked-only templates, so they don't increment the
step count.

> [!NOTE]
> **Note:** This sample flow shows how the templates might look in Android Auto.

## Sample flow

| User action | Where action is performed | Step count after action |
|---|---|---|
| The user taps a button to sign in to the app. | Landing template (not shown) | 1 |
| To sign in, the user sees a QR code that they must capture on their phone. | Sign-in template (parked-only template) ![Sign-in with QR code](https://developers.google.com/static/cars/design/create-apps/sample-flows/images/sign_in_while_parked_1.png) | 1 |
| The user scans the QR code, which takes them to the sign-in process on their phone screen. | No template (task continues on phone) | 1 (task paused) |
| The user reads the app's privacy policy (if required). | Long Message template (parked-only) ![Long Message with two buttons](https://developers.google.com/static/cars/design/create-apps/sample-flows/images/sign_in_while_parked_2.png) | 1 |
| The app returns to the landing template. | Landing template (in this case, List template included in the Map + Content template) ![List template included in the Map + Content template](https://developers.google.com/static/cars/design/create-apps/sample-flows/images/sign_in_while_parked_3.png) | 1 (new task) |