Open topic with navigation

# Creating a Route

Routes cannot be created until Stream Processors are enabled.
Prior to creating a route, ensure that your source and destination topics already exist. If not, create them before creating a route that uses them.

To create a route:

1. Click Configuration Management > Transformation Hub.
2. On the Transformation Hub Configurations page, click Routes > +Add.
3. In Route Name, specify a name for the route.
4. From the Source Topic drop-down list, select the topic from which events will be filtered.
5. From the Destination Topic drop-down list, select the destination to which events will be copied.
6. In Description, specify a short description of the route.
7. Under Add Routing Rule, use the Rule Editor to define the criteria for the routing rule.

Note: Only routable topics are displayed in the drop-down list for both Source Topic and Destination Topic when adding a new route. This option is only available for Transformation Hub 3.4.

- Define a criterion by using the drop-downs to select a Field, Operator, and Value as a filter. Fields and Operators are based on the Source Topic type.
- Click + to add a new conjunction (& AND, || OR), or the right arrow to add a dependent conjunction. Then define any new required criteria as needed.

- You can create nested conjunctions by clicking the right arrow at the same level as the current conjunction.

- To change a conjunction, right-click the conjunction and select your choice from the drop-down menu.

- To delete a conjunction, right-click the conjunction and pick Delete. Note that deleting a conjunction will delete all the criteria associated with the deleted conjunction.

The rule is shown in the rule field as you construct it. When the rule is complete, click Save.

The following IP address routing fields are only supported in Avro routing:
`agentAddressBin
agentTranslatedAddressBin
destinationAddressBin
destinationTranslatedAddressBin
deviceAddressBin
deviceTranslatedAddressBin
sourceAddressBin
sourceTranslatedAddressBin`