---
schema_version: "1"
id: 51a80b8fb83007c244dfa02a3be2cac3b759529670c9c10d4cf81cf92c1dad25
title: Create an Integration Definition To Get Vehicle Status
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/auto_getstatuscreate_an_integration_definition_to_get_vehicle_status.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.auto_getstatuscreate_an_integration_definition_to_get_vehicle_status.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: c50fb70eab8a72b8ee612d189a01b963a2e7fc1f73be1ce511f0c42e1a225122
description: Create an integration definition by using a predefined Apex class to connect Automotive Cloud with an external telematics system via MuleSoft, and show real-time vehicle metrics to users. You can use this integration definition, or create your own. Depending on your choice of telematics provider and integration layer, you can create an integration definition with the required attributes.
products:
  - Automotive
release: "264"
---
# Create an Integration Definition To Get Vehicle Status

Create an integration definition by using a predefined Apex class to connect Automotive Cloud with an external telematics system via MuleSoft, and show real-time vehicle metrics to users. You can use this integration definition, or create your own. Depending on your choice of telematics provider and integration layer, you can create an integration definition with the required attributes.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d29992e63">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d29992e63 ">To create an integration definition:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d29992e63 ">Industry Service Excellence</td>

          </tr>
        </tbody>
      </table>

1. From Setup, in the Quick Find box, enter Integrations Definitions, and then select **Integrations Definitions**.
2. Click **\+ New**.
3. Create an Integration Definition with these settings.
    1. For Type, select **Apex Defined**.
    2. For Name and Developer name, enter **AUTO\_GetVehicleMetrics**.
        
        ![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-automotive-264-0-0-production-enus/55098325-b838-4fed-9e79-8cfa2d7b33a3/images/icon_important.png)
        
        Important To ensure that the integration procedures that power this capability in Automotive Cloud don’t fail, enter the exact name.
4. Click **Next**.
5. Select Apex Class as **automotiveconnectedvehicle.VehicleGetMetricsServiceIntegrationProvider**.
    
    The attribute value for the attribute name Get Status URL Path is automatically populated. If you use an integration service other than MuleSoft, modify the value to the required URL path.
6. For the attribute name Connected Vehicle Named Credential, enter the attribute value as the API name of the named credential that was automatically created. See [Create a Named Credential To Get Vehicle Status](https://help.salesforce.com/s/articleView?id=ind.auto_getstatuscreate_a_named_credential_to_get_vehicle_status.htm&release=264.0.0&type=5 "Turn on Automotive Cloud Integrations and use the predefined app and its named credential to connect your external telematics system to Salesforce. Use the app to get vehicle metrics and status in real time from the telematics provider via MuleSoft.").
    
    If you modified the autogenerated API name of the named credential, use the modified name.
7. Save your changes.
8. Click **Activate**.