> For the complete documentation index, see [llms.txt](https://docs.statuspal.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.statuspal.io/security/single-sign-on/save-your-recovery-codes.md).

# Save your Recovery Codes

Once you have set up SSO for your StatusPal organization, please make sure to generate and save recovery codes in a safe place.

To access your recovery codes, click the "Save your recovery codes" link at the bottom of your Security page.

<figure><img src="/files/AwYlHpUO4BWGhurH2YYI" alt="recovery codes for your StatusPal organization and status page" width="563"><figcaption></figcaption></figure>

Once you're on the Recovery Codes page, click on Generate to generate your recovery codes, then make sure to download them and save the `.txt` file in a safe place.

In the case of your IdP (your SSO provider like Okta, Microsoft Azureing AD, etc.) stopping working, use your recovery codes to regain access to your StatusPal organization by visiting your [Single Sign-On URL](/security/single-sign-on.md#your-organizations-single-sign-on-url).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.statuspal.io/security/single-sign-on/save-your-recovery-codes.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
