Configure the Connector
A connector represents one external system’s base URL and authentication configuration. It does not define an API operation. HTTP actions inherit the connector and add their own endpoint path, method, request fields, and response contract.
Understand the URL Boundary
Together they form the request URL:
Use one connector for compatible actions against the same system and identity. Create another connector when the base URL, tenant, credentials, or identity model differs.
Step 1: Choose the Execution Identity
Shared Application or Service Identity
Delegated User Identity
OAuth does not always mean user consent. Authorization Code usually represents a user, while Client Credentials represents an application. A JWT bearer assertion can represent an application or a delegated subject depending on the provider. Confirm the exact identity semantics, flow, and scopes.
Step 2: Prepare the Downstream System
Complete the provider-side configuration first:
- Create or approve the service account or OAuth application.
- Assign the minimum roles and scopes required by the planned actions.
- Register callback URLs for delegated OAuth when required.
- Configure IP allowlists or network rules.
- Create non-production test data.
- Document token rotation, revocation, ownership, and expiration.
The connector cannot grant a permission the downstream system has not granted.
Step 3: Configure the HTTP Connector
In Agent Studio, create an HTTP connector and configure:
Use a recognizable system, tenant, environment, and identity name.
State which downstream system, environment, and execution identity the connector represents.
Use the stable scheme and host, plus any path prefix shared by every compatible action.
Select the mechanism supported by the provider and your chosen identity model.
Enter the token URL, client ID, secret, API key pattern, claims, scopes, or other provider-specific fields.
Step 4: Configure Moveworks Asset Access
Downstream API permissions and Moveworks asset permissions solve different problems:
Grant Use access through the complete plugin → action → connector dependency chain.
Step 5: Validate the Connector
Use a safe, read-only endpoint when possible:
- Verify successful authentication.
- Verify the request reaches the intended tenant and environment.
- Confirm the response contains only records the chosen identity should access.
- Test an expired or invalid credential.
- Test a caller without required Moveworks asset access.
- Record the expected renewal or consent experience.
Reuse a connector only when every consuming action should share its destination and identity. A narrowly scoped connector is easier to audit than a powerful credential reused across unrelated capabilities.
Build Along: Configure the PurpleSuite Connector
Complete PurpleSuite Setup, then create the shared connector used by every action in this course:
Follow one live feature request through the same three API calls and Agent Studio contracts in every chapter.
https://marketplace.moveworks.comX-Instance-ID.GET /api/purple-suite/community/feature_requests $filter: currentStatus ne 'Planned' $select: id,name,currentStatus,productArea $top: 10
/api/purple-suite/community/feature_requestsDynamic resolver retrieves live candidates/api/purple-suite/community/feature_requests/{id}Compound action updates the selected record/api/purple-suite/community/feature_requests/{id}Compound action verifies the stored resultStore the PAT in the connector. Add the instance ID to the actions that require it, not to the connector base URL.
Validate the connection with this safe read against the Community API:
The connector adds the stored Authorization: Bearer <PAT> header. The action adds X-Instance-ID. Your checkpoint is a 200 response with the { data, nextCursor, total } envelope and a connector that no unrelated production plugin can use.
PurpleSuite credentials expire. Treat this connector as a development asset, record its expiration, and never copy the PAT into a request example or documentation field.
Deep Dives
- Connectors
- HTTP Connectors
- OAuth 2.0 Authorization Code
- OAuth 2.0 Client Credentials
- API Key Authentication
- Connector Access Control
Next, build focused actions.