> For the complete documentation index, see [llms.txt](https://docs.hyperswitch.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hyperswitch.io/self-hosting/want-to-explore/readme-1/local-setup-using-individual-components/set-up-hyperswitch-control-center.md).

# Control Center

Set up the Hyperswitch Control Center locally to manage payments and configure routing rules

{% hint style="warning" %}
This setup is meant for development. If you want a quick trial of Hyperswitch (without contributing), use [this guide](https://app.hyperswitch.io).
{% endhint %}

#### Prerequisites

1. Node.js and npm installed on your machine.

#### Installation Steps

Follow these simple steps to set up Hyperswitch on your local machine.

1. Clone the repository:

   ```
   git clone https://github.com/juspay/hyperswitch-control-center.git
   ```
2. Navigate to the project directory:

   ```
    cd hyperswitch-control-center
   ```
3. Install project dependencies:

   ```
   npm install
   ```
4. Start the ReScript compiler:

   ```
   npm run re:start
   ```
5. In another terminal window, start the backend server, and SDK:

   ```
   git clone --depth 1 --branch latest https://github.com/juspay/hyperswitch
   cd hyperswitch
   docker compose up -d --scale hyperswitch-control-center=0
   ```
6. Update the config.toml file

   ```
   api_url = your-backend-url #e.g: http://localhost:8080
   sdk_url = your-sdk-url  #e.g: http://localhost:9050/HyperLoader.js
   ```
7. In another terminal window, start the development server:

   <pre><code><strong>npm run start
   </strong></code></pre>

#### Accessing the Application

Once the containers are up and running, you can access the application by navigating to [http://localhost:9000](http://localhost:9000/) in your web browser.


---

# 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.hyperswitch.io/self-hosting/want-to-explore/readme-1/local-setup-using-individual-components/set-up-hyperswitch-control-center.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.
