---
schema_version: "1"
id: a9acf65c984fa30c6e1f04975d26f75f104f08f770d92bce3571758183a6b44c
title: Data Consumption Framework
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/consumption_framework.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.consumption_framework.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 84104bf3147922e9b608f29afa775719201bd583d9eb7037a903bd429ab1de54
description: With Data Consumption Framework, your agents can access complete and current data from external systems without leaving Salesforce. The framework enhances the Continuations framework in FlexCards and OmniScripts by providing them with integration definition capabilities for better real-time performance. In addition, agents can use the framework to initiate asynchronous flows that call APIs at scale to support more simultaneous users.
products:
  - Industry Solutions
  - Cross Cloud
release: "264"
---
# Data Consumption Framework

With Data Consumption Framework, your agents can access complete and current data from external systems without leaving Salesforce. The framework enhances the Continuations framework in FlexCards and OmniScripts by providing them with integration definition capabilities for better real-time performance. In addition, agents can use the framework to initiate asynchronous flows that call APIs at scale to support more simultaneous users.

The Data Consumption Framework supports these types of integrations:

- Service Integration: Data Consumption Framework uses the Continuation framework to communicate with the external system in real time while the agent waits and then delivers the response to Salesforce. Integration definitions are an additional layer of flexibility on top of the Continuation framework. Managing your configuration is easier because the configuration is built into the Data Consumption Framework, providing a standard, best-practice pattern.
    
    You can use the ServiceIntegrationProvider component provided for service flows or build your own.
- Process Integration: Data Consumption Framework supports flows to perform tasks outside of Salesforce by a high volume of users. Data Consumption Framework makes an asynchronous callout to the external service. The flow is paused while the call to the external service is pending. After the response from the external service is received, a platform event is raised to provide the paused flow with the response from the external service. The flow resumes and processes the response from the external service.
    
    You can use the ProcessIntegrationProvider component provided for process flows or build your own.

- **[Confirm Permissions and User Access for Data Consumption Framework](https://help.salesforce.com/s/articleView?id=ind.consumption_framework_license.htm&release=264.0.0&type=5)**  
    Confirm that the Data Consumption Framework permission is turned on and provide access to your users.
- **[Set Up MuleSoft for Integration](https://help.salesforce.com/s/articleView?id=ind.consumption_framework_mulesoft_integration.htm&release=264.0.0&type=5)**  
    To use MuleSoft as the middleware layer, turn on MuleSoft Integration and create named credentials.
- **[Create a Service Type Integration](https://help.salesforce.com/s/articleView?id=ind.consumption_framework_service_type_integration.htm&release=264.0.0&type=5)**  
    Service type integrations enable Salesforce to communicate with your external system while your agent waits.
- **[Create a Process Type Integration](https://help.salesforce.com/s/articleView?id=ind.consumption_framework_process_type_integration.htm&release=264.0.0&type=5)**  
    A Process type integration runs a Salesforce Flow that’s initiated by an agent and can be completed while the agent performs other tasks.
- **[Create an Integration Definition](https://help.salesforce.com/s/articleView?id=ind.consumption_framework_integration_definitions.htm&release=264.0.0&type=5)**  
    To connect Salesforce with an external system, create integration definitions. APIs work with the integration definitions to perform operations in both Salesforce and the external system. You can create Apex, External Services, or Standard integration definitions.