# Using Mock Passports

When using offchain verification, pass `mockPassport` to the Self verifier as explained [here](https://docs.self.xyz/backend-integration/basic-integration#parameters).

When using onchain verification, use the Sepolia contracts [Deployed Contracts](/self-pass/basic-integration-1/deployed-contracts.md).

## Generating Mock Passport

To create a mock passport, on the first screen, tap 5 times with one finger on the Passport button.

<figure><img src="/files/jJdIZikbUTVH8J4x2v7G" alt="" width="188"><figcaption></figcaption></figure>

This will show a screen to create a mock passport. To try it out, use <https://playground.staging.self.xyz/> instead of <https://playground.self.xyz/>.

To stop using a mock passport, select a different document to use. If no other document is added yet go to the Settings, Select **Manage ID Documents.**

<figure><img src="/files/wYQ03aqrbvl12QWgw5Ic" alt="" width="188"><figcaption></figcaption></figure>

Click **Add New Document.**

<figure><img src="/files/9iJrHX5diuvxwkrdsSm0" alt="" width="188"><figcaption></figcaption></figure>

If the document is already registered, it can be selected from the Home page.

<figure><img src="/files/4F6pMMJVESCvUam7Abdf" alt="" width="188"><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.self.xyz/self-pass/using-mock-passports.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
