Self-Deployment Guide

Self-deploy the intelligent routing engine with Docker

Self-deploy and integrate it with your existing orchestrator

Juspay Hyperswitch's intelligent routing engine can be self-deployed to fit into your existing payments setup:

1. Clone the Repository

2. Install Docker

3. Run the Project

a. First-Time Setup

If you're setting up the environment for the first time, run:

This command performs the following under the hood:

This will:

  • Set up the environment

  • Set up the database with the required schema

  • Set up redis and the server for running the application

  • Push the configs defined in the config.yaml & the static rules defined for routing in priority_logic.txt to the DB

b. Start the Server (without resetting DB)

If the DB schema is already set up and you don't want to reset the DB, use:

System Requirements: Approximately 2GB of disk space

After successful setup, the server will start running.

Once the server is set up, you can refer to the API reference for usage.

Last updated

Was this helpful?