{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":36392,"path":"now-intelligence/usage-insights/data-export-submit-request.md","title":"Preparing for the Usage Insights data export via REST API","bundle":null,"doc_type":null,"release":"australia","body":"\n# Preparing for the Usage Insights data export via REST API\n\nSubmit an export request to the Usage Insights data export API to extract usage data asynchronously and consume results from a Kafka topic.\n\n## Before you begin\n\nRole required: sn\\_uxa\\_data\\_export.user\n\nActivate Usage Insights data export:\n\n-   Install Usage Insights Data Export store app \\(`sn_uxa_data_export`\\) on your instance.\n\n    **Note:** Installing the app activates the data export REST API endpoint and provisions the managed Hermes topic used to deliver results.\n\n-   Prepare the Kafka consumer environment that can connect to your managed Hermes cluster.\n\n    **Note:** Before setting up your export request parameters, verify that your Kafka environment is fully prepared and configured.\n\n\n**Important:** Not yet available in some regulated markets. Check the Store listing for availability in your region.\n\n## About this task\n\nThis task involves preparing the export request parameters, managing API request submitted and response received, securing Hermes and consuming export results.\n\n## Procedure\n\n1.  Have your instance URL and user credentials ready for authentication.\n\n2.  Navigate to the Usage Insights dashboard.\n\n3.  Search and select the application you would like to export data from.\n\n4.  Navigate to **Events** to explore various event names.\n\n5.  Review and select the column and available data before you submit the export request.\n\n6.  Prepare your export request parameters.\n\n    See [UXA Data Export Service API](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/api-reference/usage-insight-data-exp-api.md) to learn more.\n\n    1.  Submit the export request via the REST API.\n\n    2.  Export request response.\n\n    3.  Capture the response and job ID.\n\n\n## What to do next\n\nSet up a secure connection to Hermes, to start consuming data export results. See [Setting up a secure connection to Hermes](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/usage-insights/data-export-setup-hermes.md).\n\n**Parent Topic:**[Bulk export of Usage Insights data via REST API](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/usage-insights/data-export-restapi.md)\n\n"}}