---
schema_version: "1"
id: 8a41a24ceee5e7322e410bf3642176681ae32606b72530eb296cf16d920dc94b
title: Integrate with an External Billing System
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/energy_integrate_with_an_external_billing_system.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.energy_integrate_with_an_external_billing_system.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: eec0f54faba4e142a519b2be9d7912e1fc401d4fff15cfd635055e853d9402bd
description: You can integrate with an external billing system to fetch payment details, bills, usage metrics and other data stored in the external system.
products:
  - Energy and Utilities
release: "264"
---
# Integrate with an External Billing System

You can integrate with an external billing system to fetch payment details, bills, usage metrics and other data stored in the external system.

## Host an API suite

You can host an API suite in any third-party system. If you use MuleSoft, see [Set Up MuleSoft for Integration](https://help.salesforce.com/s/articleView?id=ind.consumption_framework_mulesoft_integration.htm&type=5&language=en_US)

## Create Named Credentials

To connect with Self-Service Portal, you must share the details of your external system via Named Credentials.

See

- [Tooling API Developer Guide: NamedCredential](https://developer.salesforce.com/docs/atlas.en-us.250.0.api_tooling.meta/api_tooling/tooling_api_objects_namedcredential.htm)
- [Metadata API Developer Guide: NamedCredential](https://developer.salesforce.com/docs/atlas.en-us.250.0.api_meta.meta/api_meta/meta_namedcredential.htm)

## Create an Integration Definition

Then, create an Apex Defined integration definition. APIs work with integration definitions to perform operations in both Salesforce and the external system. Select the Apex Class **eucommon.EUIntegrationHandler**.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-energy_utilities-264-0-0-production-enus/520849e5-9b41-4bae-b97b-d269cc2fce83/images/icon_note.png)

Note The EUIntegrationHandler Apex Class has the default named credential set to **EU\_Named\_Credential**. Replace the default value with the named credentials in your system.

See [Create an Integration Definition](https://help.salesforce.com/s/articleView?id=ind.consumption_framework_integration_definitions.htm&type=5&language=en_US)