Connecting to a private network from App Connect Designer (in IBM App Connect Operator 6.2.0 through 11.0.x)
To create flows in App Connect Designer, which interact with applications that run on a private network, configure secure connectivity across your containerized and private (or on-premises) environments by creating a private network connection. For example, your flow might include an HTTP action that sends requests to an HTTP server or endpoint that is hosted on a private network.
About this task
You enable access to a private network by using a switch server to route data, and a secure agent to connect to endpoints on the private network. The switch server runs in your cluster, and IBM App Connect provides a configuration file (switchclient.json) that you can use to configure a secure agent that runs on your computer.
To begin, you create a private network connection in your Designer instance, and then download the configuration file that is supplied to configure the connection. Update the file with endpoint information (including host, port, and certificates) for connecting to one or more applications in your private network. The switchclient.json file also supplies the switch server location, and certificates that are needed to securely communicate with the switch server.
To set up your secure agent, you create an integration server in your IBM App Connect Enterprise on-premises system, and then add the updated switchclient.json file to the integration server's work directory. You complete the setup by starting the integration server, which then runs the secure agent.
To enable an App Connect Designer flow to interact with an application in the private network, include the name of the private network connection in the credentials that you specify when you add an account for connecting to that application. The flow uses the associated secure agent to securely communicate with the private network.
Creating a switch server and a dedicated integration server to run the secure agent
To configure secure connectivity between your containerized environment and your private network, you need a switch server in your cluster, and an IBM App Connect Enterprise integration server that runs a secure agent.
Before you begin
To create the IBM App Connect Enterprise integration server, you require an installation of App Connect Enterprise 12.0.7.0 or later on premises. If you need to, you can download and install IBM App Connect Enterprise for Developers on your computer. For more information, see Download IBM App Connect Enterprise for Developers and get started with a hands-on experience in the App Connect Enterprise documentation.
About this task
Use the same switch server with your App Connect Designer and App Connect Dashboard instances in your namespace.
Although you can use an independent integration server or an integration node as the switch client, these instructions provide commands for an independent integration server because the setup is simpler. Use this integration server to run the secure agent only, and do not deploy your own flows to it.
Creating a switch server is a one-time task.
Creating an integration server might also be a one-time task based on your preference. You can choose to create a single integration server to run a secure agent, which can access multiple endpoints that your flows in Designer or your deployed integrations in the Dashboard need to interact with. You can alternatively create and configure multiple integration servers to run separate secure agents.
Procedure
To create a switch server and an IBM App Connect Enterprise integration server, complete the following steps:
What to do next
Configure a private network connection that enables the integration server to run a secure agent.
Configuring a private network connection
You configure a private network connection between a flow in your cluster and an application in a private network by using a switchclient.json configuration file to set up an IBM App Connect Enterprise integration server with a running secure agent.
About this task
Private network connections are shared across App Connect Designer and App Connect Dashboard instances in the same namespace, and are visible on the
Private network connections
page in both instances. If you configure a
secure agent by using a switchclient.json file that you download from App Connect Designer, you can also use the same secure agent when you deploy
integrations from the App Connect Dashboard.
- If you are using both App Connect Designer and the Toolkit to develop
flows that you will later deploy as integration servers or integration runtimes from
the Dashboard, configure the private network connection from the
Private network connections
page in Designer. - If you are developing only Toolkit flows that you will later deploy as integration servers or integration runtimes from the Dashboard, configure the private
network connection from the
Private network connections
page in the Dashboard. - For simplicity, use a single private network connection and secure agent to configure
connectivity to your private network. You can either use the default private network connection on
the
Private network connections
page or create another.Alternatively, you can create multiple private network connections from the
Private network connections
page to run multiple secure agents. You might want to do so if you want to maintain separate groupings of endpoint information. - You can define multiple endpoints in the switchclient.json file that you add to the IBM App Connect Enterprise integration server work directory. If you need to specify endpoint information for new connections to your private network, you can update the switchclient.json file in the work directory with these details.
Procedure
To configure a private network connection, complete the following steps:
What to do next
Associate this private network connection with connector accounts (in Designer flows or Designer integrations) that need to connect to your private network.
Connecting your flow to applications in the private network
To create a flow that uses the private network connection to access one or more applications in your private network, you need to include the name of the private network connection in the credentials that you specify when you add accounts for connecting to those applications. Connectors that support private network connections include a Private network connection drop-down list in the connection fields that are provided for setting up accounts.
Flows that connect to applications on the private network will work only while the secure agent is running.
Procedure
To configure a flow to connect to a private network, complete the following steps:
Updating your private network connections or deleting a private network connection
You can update the endpoint definitions that are configured on the secure agent that runs on a designated integration server. You can also delete a private network connection if it's longer required.
Endpoint definitions are stored in the switchclient.json file in the work
directory for the App Connect Enterprise integration server on which the secure
agent runs.
) and page are
added by default to your
) and page for
configuring callable flow connectivity are also added. (You might need to refresh your browser
window or tab to view the icons for these pages in the navigation pane.) You can use the



for the private network connection and click 

) to confirm that you can successfully connect to the
private network before you start the flow. You can also test the flow after you start it. For more
information, see 