Add a Server to a Service Connection

After you create a service connection, you can add more servers that host the same REST service to the service connection. Used in conjunction with application profiles, this can simplify the development, testing, and publication of apps that consume the REST service.

Note:

For service connections created after the 23.10 release, servers must be added from the backend associated with the service connection. For more information, see Edit a Backend.

For example, you might add a development server that hosts an instance of the REST service where non-customer data is used, and an authentication method like basic authentication is acceptable. This development server can be used to develop your application, but once you publish it to production, your apps need to connect to the REST service using a production server with more stringent authentication requirements and access to customer data.

To add a server to a service connection:
  1. Open the Servers tab of the service connection where you want to add the server:Add a Server to a Service Connection
  2. Click the + Server button to open the New Server dialog. Alternatively, click the Copy icon to make a copy of an existing server and modify some of its entries.
    In both cases, a dialog appears where you can identify the server, specify an application profile that will use the server, add headers, and configure security options. These options are the same as those you configure when you initially created the service connection.
  3. Once you complete the definition of the server options, click Save or Copy depending on the option you chose to add the server.

The first server in the List of Servers is the default server. It will be associated with all application profiles unless you configure the other servers in the list to use another application profile.