# How do I add extra pages?

You can't add pages per say. The theme isn't in control of the authentication cinematic. The Keycloak server defines the login/registration steps all you can do is customize the pages defined by Keycloak.

That being said, if what you are trying to do is implementing, for example, a multi step registration process you can do this! You'll do it at the page level by dynamically swapping react components.

If you have implemented a custom Keycloak extension (in Java) that does define some non standard extra user facing pages you can implement implement them in your Keycloakify theme. See:

{% embed url="<https://docs.keycloakify.dev/features/styling-a-custom-page-not-included-in-base-keycloak>" %}


---

# 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://doc-old.keycloakify.dev/faq/how-do-i-add-extra-pages.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.
