> 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/hyperswitch-open-source/readme-1/local-setup-using-individual-components/set-up-hyperswitch-control-center.md).

# Control Center

{% 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 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.hyperswitch.io/self-hosting/hyperswitch-open-source/readme-1/local-setup-using-individual-components/set-up-hyperswitch-control-center.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.
