# Streamlining REST Configuration with Pega App Studio
> Learn how to configure REST integrations in Pega App Studio. A step-by-step guide to data objects, mapping JSON, and environment settings.

Tags: pega, low-code, rest-api, app-studio, constellation, data-integration, software-development
## Configuration of REST in App Studio
This presentation demonstrates a practical workflow for setting up REST integrations using Pega App Studio in the Constellation architecture.

## Demo Overview
* Defining Data Objects
* Setting up REST Connection Details
* Mapping JSON Responses to Pega Properties
* Environment Configurations (Dev, Stage, Prod)
* Validation via Dev Studio

## Step 1: Create Data Object
* Start in the Data Explorer.
* Created a new Data Object named 'User Preference'.
* Used the 'Now' option to configure integration immediately.

## Step 2: Connection Details
* Defined System, Name, and Endpoint URL.
* Utilized parameterization in the URL path for flexibility.
* Example endpoint used: jsonplaceholder.typicode.com/posts/1

## Step 3: Data Mapping
* Pega parses the JSON response (userId, id, title, body).
* Visual mapping connects external fields directly to the Pega Data Model, creating properties automatically.

## Step 4: Environment Settings
* Configure Base URLs for Dev, Stage, and Prod environments.
* Set authentication profiles to ensure seamless pipeline promotion.

## Validation and Results
* Integration generates a 'Read' Data Page.
* Artifacts can be inspected in Dev Studio as 'Connector' type REST rules.
* Successful validation confirmed via Data Page execution results showing mapped JSON values.
---
This presentation was created with [Bobr AI](https://bobr.ai) — an AI presentation generator.