Harness
Harness is an AI-native software delivery platform that provides a unified, end-to-end solution for managing the software development lifecycle (SDLC). The platform includes purpose-built modules for Continuous Integration (CI), Continuous Delivery (CD), Feature Flags, Cloud Cost Management, Security Testing Orchestration, Chaos Engineering, and Continuous Error Tracking. Harness enables engineering and DevOps teams to build, test, deploy, and verify software faster and more reliably, with AI-powered automation that supports deployments to Kubernetes, serverless environments, virtual machines, and traditional infrastructure. With the Nexla Harness connector, you can integrate Harness pipeline execution data, deployment records, feature flag configurations, and more into your data workflows.

Power end-to-end data operations for your Harness API with Nexla. Our bi-directional Harness connector is purpose-built for Harness, making it simple to ingest data, sync it across systems, and deliver it anywhere — all with no coding required. Nexla turns API-sourced data into ready-to-use, reusable data products and makes it easy to send data to Harness or any other destination. With comprehensive monitoring, lineage tracking, and access controls, Nexla keeps your Harness workflows fast, secure, and fully governed.
Features
Type: API
- Seamless API Integration: Connect to any endpoint as source or destination without coding, with automatic data product creation
- Visual Composition & Chaining: Build complex integrations using visual templates, chain API calls, and compose workflows with data validation and filtering
- API Proxy: Expose curated slices of your data securely with a secure and customizable API proxy that validates and transforms data on the fly
- Request optimization with intelligent batching, retry, and caching to minimize API calls and costs
Prerequisites
To connect Nexla to Harness, you need a Harness API key and token. Harness supports two types of API tokens: Personal Access Tokens (PATs), which are associated with individual user accounts, and Service Account Tokens (SATs), which are associated with service accounts and are recommended for automated integrations such as Nexla.
Harness uses the x-api-key header to authenticate all API requests. The token you create must have appropriate permissions to access the Harness resources you intend to use with Nexla.
Option A: Create a Personal Access Token (PAT)
Personal Access Tokens are scoped to your individual Harness user account and inherit your account's permissions. Use a PAT for development or testing purposes, or when the integration requires access to resources visible to your user account.
-
Sign in to your Harness account at app.harness.io.
-
Select My Profile from the left-hand navigation menu.
-
Under the My API Keys section, click + API Key.
-
Enter a descriptive Name for the API key (for example,
Nexla Integration). The Description and Tags fields are optional. -
Click Save to create the API key.
-
Within the newly created API key tile, click + Token.
-
Enter a Name for the token, set an optional Expiration Date aligned with your organization's security policies, and then click Generate Token.
-
Copy the generated token value immediately and store it securely.
Harness does not store the token value after it is displayed. Copy the token before closing the dialog — if the token is lost, you must revoke it and generate a new one.
Option B: Create a Service Account Token (SAT)
Service Account Tokens are recommended for production integrations. They are not tied to an individual user account, which means the integration continues to function even when team members leave or change roles. Creating a service account token requires Account Admin permissions or a role that includes View, Create/Edit, Manage, and Delete permissions for service accounts.
-
Sign in to your Harness account at app.harness.io.
-
Navigate to Account Settings in the left-hand navigation menu.
-
Under the Access Control section, select Service Accounts.
-
Select the service account for which you want to create an API key, or click + New Service Account to create a dedicated service account for the Nexla integration.
-
Within the service account detail page, under API Keys, click + API Key.
-
Enter a descriptive Name for the API key and click Save.
-
Within the newly created API key tile, click + Token.
-
Enter a Name for the token, set an optional Expiration Date, and click Generate Token.
-
Copy the generated token value immediately and store it securely.
The service account token inherits the permissions of the service account it belongs to. Ensure the service account has been assigned roles that grant access to the Harness resources (pipelines, deployments, feature flags, etc.) that Nexla will read from or write to. For complete information about configuring service account permissions, see the Harness Service Accounts documentation.
Locate Your Harness Account Identifier
Some Harness API calls require your Account Identifier as a query parameter. To find it:
-
Sign in to Harness and navigate to Account Settings.
-
Under Account Overview, your Account Id is displayed. Copy this value for use when constructing API endpoint URLs.
Authenticate
Create a credential in Nexla
-
After selecting the data source/destination type, click the Add Credential tile to open the Add New Credential overlay.
-
Enter a name for the credential in the Credential Name field and a short, meaningful description in the Credential Description field.
-
Enter your Harness API token (PAT or SAT, created in Prerequisites) in the API Key field. This token authenticates all Nexla requests to the Harness REST API. Nexla will include this token in the
x-api-keyheader with each API call.Keep your API token secure. Treat it as you would a password — do not share it or commit it to source control. You can revoke and regenerate tokens at any time from your Harness profile or the service account settings page.
-
Click the Save button at the bottom of the overlay. The newly added credential will now appear in a tile on the Authenticate screen during data source/destination creation and can be selected for use with a new data source or destination.
Use as a data source
To create a new data flow, navigate to the Integrate section, and click the New Data Flow button. Select the Harness connector tile, then select the credential that will be used to connect to the Harness instance, and click Next; or, create a new Harness credential for use in this flow.
Endpoint templates
Nexla provides pre-built templates that can be used to rapidly configure data sources to ingest data from common Harness endpoints. Each template is designed specifically for the corresponding Harness endpoint, making data source setup easy and efficient. Select the endpoint from which this source will fetch data from the Endpoint pulldown menu. Available endpoint templates are listed in the expandable boxes below. Click on an endpoint to see more information about it and how to configure your data source for this endpoint.
Once the selected endpoint template has been configured, click the Test button to the right of the endpoint selection menu to retrieve a sample of the data that will be fetched. Sample data will be displayed in the Endpoint Test Result panel on the right, allowing you to verify that the source is configured correctly before saving.
Manual configuration
Harness sources can also be configured manually to ingest data from any valid Harness REST API endpoint, including endpoints not covered by the pre-built templates, chained API calls, or custom request parameters. Select the Advanced tab at the top of the configuration screen, and follow the instructions in Connect to Any API to configure the API method, endpoint URL, date/time and lookup macros, path to data, metadata, and request headers.
The Harness REST API base URL is https://app.harness.io/ng/api, and most endpoints require the accountIdentifier, orgIdentifier, and projectIdentifier query parameters (found under Account Settings > Account Overview in Harness) plus support pageIndex/pageSize pagination parameters. Common endpoints include listing pipelines, pipeline executions, organizations, projects, feature flags, and connectors — see the Harness API Reference for the complete list.
Harness API responses typically nest records inside a data or content object — for example, a pipeline list response nests records at data.content[*], so enter $.data.content[*] as the Path to Data to extract each pipeline object as a separate record. You do not need to add the x-api-key authentication header manually — it is handled automatically using the API key stored in your Harness credential.
Once all of the relevant settings have been configured, click the Create button in the upper right corner of the screen to save and create the new Harness data source. Nexla will now begin ingesting data from the configured endpoint and will organize any data that it finds into one or more Nexsets.
Use as a destination
Click the + icon on the Nexset that will be sent to the Harness destination, and select the Send to Destination option from the menu. Select the Harness connector from the list of available destination connectors, then select the credential that will be used to connect to the Harness account, and click Next; or, create a new Harness credential for use in this flow.
Endpoint templates
Nexla provides pre-built templates that can be used to rapidly configure destinations to send data to common Harness endpoints. Each template is designed specifically for the corresponding Harness endpoint, making destination setup easy and efficient. Select the endpoint to which this destination will send data from the Endpoint pulldown menu. Then, click on the template in the list below to expand it, and follow the instructions to configure additional endpoint settings.
Once the selected endpoint template has been configured, click the Test button to the right of the endpoint selection menu to send a sample payload to the Harness API. Sample data will be displayed in the Endpoint Test Result panel on the right, allowing you to verify that the destination is configured correctly before saving.
Manual configuration
Harness destinations can also be manually configured to send data to any valid Harness REST API endpoint. This allows you to trigger pipeline executions, create or update feature flags, provision connectors, update projects, or push data to any writable Harness resource. Select the Advanced tab at the top of the configuration screen, and follow the instructions in Connect to Any API to configure the API method, data format, endpoint URL, request headers, attribute exclusions, record batching, and response webhooks.
The Harness REST API base URL is https://app.harness.io/ng/api, and it accepts and returns data in JSON format only, so select JSON as the Content Format. Most write endpoints require the accountIdentifier, orgIdentifier, and projectIdentifier query parameters — for example, triggering a pipeline execution uses https://app.harness.io/ng/api/pipeline/execute/{'{pipelineIdentifier}'}?accountIdentifier={'{accountId}'}&orgIdentifier={'{orgId}'}&projectIdentifier={'{projectId}'}. See the Harness API Reference for the complete list of write endpoints and required request body schemas.
You do not need to add the x-api-key authentication header or the Content-Type: application/json header manually — both are handled automatically based on your Harness credential and the selected Content Format. Enabling the Response Webhook option is useful for capturing the execution ID and status of a triggered pipeline, or the identifier of a newly created resource, into a new Nexla webhook data source.
Sending a test payload to write endpoints (such as triggering a pipeline execution) will create real resources or trigger real actions in your Harness account. Review the sample payload carefully before sending, and consider using a non-production project for initial testing.
Save & activate
Once all endpoint settings have been configured, click the Done button in the upper right corner of the screen to save and create the destination. To begin sending data to the configured Harness endpoint, open the destination resource menu and select Activate.
The Nexset data will not be sent to the Harness API until the destination is activated. Destinations can be activated immediately or at a later time, providing full control over data movement.