# Smart Router for Payouts

_Before continuing further, refer to_ [_this_](https://docs.hyperswitch.io/features/merchant-controls/smart-router) _comprehensive guide on Smart Router._

**Note: routing rules are distinct for payment and payout operations. Configuring one does not affect the other and vice-versa.**

## How to get started?

Routing rules can be configured using Hyperswitch's dashboard _(beta feature)_ or via APIs. We will be using Hyperswitch's dashboard as it provides a simple, intuitive UI for configuring these rules.

Dashboard - [https://app.hyperswitch.io](https://app.hyperswitch.io)

#### Pre-requisites

Make sure there are at least two or more payout processors integrated with your account. You can follow [this](https://docs.hyperswitch.io/features/payment-flows-and-management/payouts/get-started-with-payouts#how-to-get-started) guide for integrating a payout connector of your choice.

#### Steps for configuring routing rules for payouts

**Step 1 -** Head to _**Workflow -> Payout Routing**_

<figure><img src="https://1943537505-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf7BGdsPkCw9nalhAIlE%2Fuploads%2FTdtmXuhaxWNbJred83t8%2Fimage.png?alt=media&#x26;token=46fa7dee-d18a-4822-be46-32b76f9f48bc" alt=""><figcaption><p>Head to Payout Routing</p></figcaption></figure>

**Step 2 -** From here, you can select one of the three routing rule formats for creating a routing rule and follow one of the below guides for configuring your routing rule

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td></td><td>Volume Based Routing</td><td></td><td><a href="https://1943537505-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf7BGdsPkCw9nalhAIlE%2Fuploads%2Fgit-blob-8b20a8bc74e39586fec44a07868eb13da6bdcd1d%2Fimage.png?alt=media">image.png</a></td></tr><tr><td></td><td>Rule Based Routing</td><td></td><td><a href="https://1943537505-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf7BGdsPkCw9nalhAIlE%2Fuploads%2Fgit-blob-d26465ed462b14a235ac12491b71788c2887c9ba%2Fimage.png?alt=media">image.png</a></td></tr><tr><td></td><td>Default fallback Routing</td><td></td><td><a href="https://1943537505-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf7BGdsPkCw9nalhAIlE%2Fuploads%2Fgit-blob-50df6f48289582feb99874ef80cd49d94b012aac%2Fimage.png?alt=media">image.png</a></td></tr></tbody></table>

**Step 3 -** You can view the created routing rules at the main page

<figure><img src="https://1943537505-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf7BGdsPkCw9nalhAIlE%2Fuploads%2FCmS2KwsVPhqGkNVAJnJh%2Fimage.png?alt=media&#x26;token=b68b8915-ac0e-43eb-a656-158bf84cef0f" alt=""><figcaption><p>View configured rules</p></figcaption></figure>

**Step 4 -** Only a single routing rule can be activated at a given time. For selecting a different rule, click on the rule and click `Activate Configuration`

<figure><img src="https://1943537505-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf7BGdsPkCw9nalhAIlE%2Fuploads%2FHzqP4Gf0izCXTxg6XQaW%2Fimage.png?alt=media&#x26;token=a0247198-e68a-4e68-8573-f0b50db48066" alt=""><figcaption><p>Activate routing rule</p></figcaption></figure>

**Step 5 -** If none of the rules are activated, the transaction is routed in the order listed in Default Fallback Priority

<figure><img src="https://1943537505-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf7BGdsPkCw9nalhAIlE%2Fuploads%2F1rPEiBmyXbfvSOpe2tfD%2Fimage.png?alt=media&#x26;token=90a3602c-ec72-4d7d-9d08-8fe57758a53b" alt=""><figcaption></figcaption></figure>
