---
sourceDocument: Australia IT Asset Management
sourceDocumentLink: https://www.servicenow.com/docs/r/pt-BR/it-asset-management

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia IT Asset Management

ft:clusterId :

    - itam

bundleId :

    - itam

workflow :

    - Technology


---

# Create a store app for a custom integration

# Create a store app for a custom integration {#ariaid-title1}

* Versão de lançamento: Australia
* 
* Atualizado 12 de mar. de 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 min. de leitura

Publish your custom integration application on the ServiceNow Store to make
it available for others to use.

## Antes de Iniciar

Role required: admin

## Por Que e Quando Desempenhar Esta Tarefa

You must complete these steps so that your custom integration works correctly when
other users download it from the ServiceNow Store.

## Procedimento

1. Create a fix script in your custom integration application.  
   When a new integration profile is created using your application, the subflows and connection alias you created are automatically linked to the profile through this fix script.
   1. Navigate to System ApplicationsStudio.
   2. Select your custom integration application.
   3. On the Welcome to Studio page, click + Create New.  
      The Create Application File dialog box opens.
   4. On the dialog box, search for and select <kbd class="ph userinput">Fix Script</kbd>.
   5. Click Create.
   6. On the Fix Script form, fill in the following fields.  
      {#create-slc-store-app__table_cpy_whm_4kb__entry__2}

      | Field | Value |
      |-|-|
      | Name | Name of the fix script. For example, <kbd class="ph userinput">Custom Integration Fix Script</kbd>. |
      | Unloadable | Option to create Customer Update \[sys_update_xml\] records when the fix script runs. Do not select this option. |
      | Application | Your custom integration application. This field is populated automatically. |
      | Before | Option that enables you to run the fix script before installing or upgrading the application. Do not select this option. |
      | Description | Description of the fix script. |
      [Tabela 1. Fix Script form]

      {#create-slc-store-app__table_cpy_whm_4kb}
   7. Enter the following script in the Script field.  
      For the subflows and connection alias, replace the example ids with the real ids. You can find the id in the URL for each item.

          new global.CustomIntegrationProfileUtils().createCustomIntegration({
          	name: 'Name', // choose a name for the integration
          	downloadSubscriptionSubflow: '3a23e189a1400010fa9bed1383c83d38', //replace example id
          	updateActivitySubflow: '77a66d23e5500010fa9bc9581d0c0f47', //replace example id
          	reclamationSubflow: 'e62b672e39400010fa9b4845e477fe02', //replace example id
          	connectionAlias: '629ad2bfdb1893005963ff041d961971' //replace example id
          });

      Nota:  
      The update activity and reclamation subflows are not required. If you do not include a subflow to update activity, the integration does not get user activity unless your download subscription subflow includes user activity. If you do not include a reclamation subflow, the integration cannot deactivate SaaS user subscriptions.
   8. Click Submit.
   {#create-slc-store-app__substeps_mq2_3hm_4kb}
2. Create a cross scope privilege record.  
   This record allows the fix script you created to access the CustomIntegrationProfileUtils() script include.
   1. Navigate to System ApplicationsApplication Cross-Scope Access.
   2. Click New.
   3. On the form, fill in the fields.  
      {#create-slc-store-app__table_dcv_pkm_4kb__entry__2}

      | Field | Value |
      |-|-|
      | Source Scope | Your custom integration application. This field is populated automatically. To select a different application, click the Settings (![Settings icon]()) icon on the banner frame of your ServiceNow instance. On the System Settings dialog box, select the Developer tab and then choose an application from the Application drop-down list. |
      | Target Scope | Application from which resources are being requested. Click the search (![Search icon]()) icon to locate and select the Global application. |
      | Target Name | Name of the script include. Set this field to <kbd class="ph userinput">CustomIntegrationProfileUtils</kbd>. |
      | Target Type | Type of request. Select Script Include. |
      | Application | Your custom integration application. This field is populated automatically. |
      | Operation | Operation that the script performs on the target scope. Select Execute API. |
      | Status | Authorization for this cross scope privilege record. Select Allowed. |
      [Tabela 2. Cross scope privilege]

      {#create-slc-store-app__table_dcv_pkm_4kb}
   4. Click Submit.
   {#create-slc-store-app__substeps_zmv_kkm_4kb}
{#create-slc-store-app__steps_kff_vzy_2nb}

## O que Fazer Depois

Before you publish your custom integration application on the ServiceNow Store, make sure that your actions and subflows are active, published, and saved in
your application.

