> For the complete documentation index, see [llms.txt](https://docs.keeper.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.keeper.io/keeperpam/privileged-access-manager/references/creating-ksm-app-for-rotation.md).

# Creating KSM App for Rotation

Steps to create a Keeper Secrets Manager application for rotation of passwords

## Overview

Prior to working with Rotation, you need to create a KSM application. For more information on KSM, visit:

{% content-ref url="/pages/-MlB9Mu0mTscXAt-4zv-" %}
[About KSM](/keeperpam/secrets-manager/about.md)
{% endcontent-ref %}

## Setup KSM

1. In the Keeper Web Vault or Desktop App user interface, create a shared folder. This shared folder will contain the PAM records you will create as you are working through the [use-case](/keeperpam/privileged-access-manager/password-rotation/rotation-use-cases.md) guides.
2. Navigate to the "Secret Managers" tab on the left and click on "Create Application" to create a KSM application
3. In the prompted window:
   * Enter the name of your KSM application
   * Choose the shared folder you have created in Step 1
   * Set the Record Permissions for Application to "Can Edit"
4. Click on "Generate Access Token" and then click on "OK"

{% hint style="info" %}
You can safely ignore the first One-Time Access Token generated for the newly created KSM application. When creating a Keeper Gateway device, a different One-Time Access Token will be created.
{% endhint %}

<figure><img src="https://762006384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJXOXEifAmpyvNVL1to%2Fuploads%2FGfrKhg3EYK2mAtfmsq1x%2FScreenshot%202023-05-01%20at%2011.37.56%20AM.jpg?alt=media&#x26;token=21236241-e0f2-4b54-b7dd-9f3cea8ab53c" alt=""><figcaption><p>Create a KSM Application</p></figcaption></figure>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.keeper.io/keeperpam/privileged-access-manager/references/creating-ksm-app-for-rotation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
