# 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](https://docs.self.xyz/self-pass/basic-integration-1/deployed-contracts "mention").

## 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="https://3083267457-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3b7SjmW8sq7ARi9xvk7J%2Fuploads%2Fgit-blob-61714e514927b8d4514835b6b1a990420d02d1f8%2FScreenshot_20251029-173127.png?alt=media" 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="https://3083267457-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3b7SjmW8sq7ARi9xvk7J%2Fuploads%2Fgit-blob-269939c797e7bb3b55ef9a97d44d7d7e64f83739%2FManage-Id-Documents.png?alt=media" alt="" width="188"><figcaption></figcaption></figure>

Click **Add New Document.**

<figure><img src="https://3083267457-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3b7SjmW8sq7ARi9xvk7J%2Fuploads%2Fgit-blob-9cbf7c825290a783ede44966d477a4becabbf04b%2Fadd-document.png?alt=media" alt="" width="188"><figcaption></figcaption></figure>

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

<figure><img src="https://3083267457-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3b7SjmW8sq7ARi9xvk7J%2Fuploads%2Fgit-blob-fd51545f6690ed84ecf92ecdb6e7728fdc1f9631%2FSelect-Document.png?alt=media" alt="" width="188"><figcaption></figcaption></figure>
