---
title: "Create Data Integration"
method: POST
path: "/insights/dataIntegration"
tags: ["Insights Service"]
---

# Create Data Integration

`POST /insights/dataIntegration`

Create a new data integration, an object representing a connection to a third-party vendor to export to and import data from.

## Parameters

- `#/paths/~1azure~1costs/get/parameters/0` — unresolved $ref

## Request body

- object
  - `dataIntegration` object
    - `vendor` 's3' | 'azureBlob', required — The vendor for the data integration. This value affects the expected `config`.
    - `name` string, required — The name of the data integration.
    - `config` union, required — The config of this data integration. Depends on the value of `vendor`.
      - object
        - `bucketName` string, required — The name of the bucket to use. Your spot IAM Role policy needs to include s3:putObject permissions for this bucket. **Can't be null**.
        - `subdir` string — The subdirectory in which your files will be stored within the bucket. Adds the prefix `subdir/` to new objects' keys. **Can't be null or contain '/'**.
      - object
        - `storageAccount` string, required — The name of the storage account to use.
        - `container` string, required — The container in which your files will be stored within the storage account.

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/spot/apis/spot-by-flexera-api.md) · [All operations](https://skmtc.net/spot/apis/spot-by-flexera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spot/spot-by-flexera-api/revisions/72813baf8d47/schema)
