Integrating with a REST API by using OpenAPI Specification
Simplify your integration with a REST API by connecting to an OpenAPI Specification. By using the complete, accurate schema that is published in your OpenAPI Specification, you can easily create and update data sources in Pega Platform.
- In the navigation pane of App Studio, click Data.
- On the Data objects and integrations landing page, click a data page.
- On the Data pages tab, in the data page for which you want to configure data sources, click .
- On the Connection details page, in the
System field, select a system of record.
- Create new - Create a new system to connect to an external database by using a REST connection. Then, enter a name and a description for the new system.
- Use an existing system - Select the name of an existing system to connect to an external database by using a REST connection.
- In the Connection field, select Use openAPI.
- In the OpenAPI source field, choose the source of the
YAML file to which you want to connect.
- Specification path – In the OpenAPI
specification path field, enter the location of the
.yaml
file. - Upload a YAML file – Click Choose
File, and then select the
.yaml
file and click Open.
- Specification path – In the OpenAPI
specification path field, enter the location of the
- Click Next.
- On the OpenAPI connection method page, in the Tag field, select the tag that you use to group methods related to a specific category, for example, Credit card applications.
- Select the method that you want to use to connect to your OpenAPI
specification.
- Click Next to advance to the Data mapping page.
Previous topic Data mapping limitations Next topic Preparing your data for production