---
schema_version: "1"
id: ce00a20470a9f725249a9e8ff9c849c057da98d8d8326a5af52cc361b4d9f47a
title: Configuring a REST Data Source Using Named Credentials (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_configuring_a_rest_data_source_using_named_credentials.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_configuring_a_rest_data_source_using_named_credentials.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 36791791cfdea38fc4dbf0bc4815acffd27a4cfabebf14abafa67fe8e6cb9709
description: For the managed package runtime, configure a REST data source using Named Credentials to authenticate Apex callouts.
products:
  - Omnistudio
release: "264"
---
# Configuring a REST Data Source Using Named Credentials (Managed Package)

For the managed package runtime, configure a REST data source using Named Credentials to authenticate Apex callouts.

![Managed Package app icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

A named credential specifies the URL of a callout endpoint and its required authentication parameters in one definition. To create a named credential, see [Named Credentials as Callout Endpoints](https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_callouts_named_credentials.htm).

To configure a REST data source:

1. On the Vlocity Cards tab, click **New** to configure a data source for a new card component, or select an existing component to configure its data source.
2. In the Cards Designer, in the Layout or Cards pane, from the **Data Source** picklist, select **REST**.
    
    ![image](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/omnistudio_for_managed_packages/images/restdatasource.png)
3. From the **Subtype** picklist, select **Named Credential**.
4. In the **Path** box, enter the REST endpoint URL.
5. Specify the REST method:
    
    - `GET`—Requests data specified by the parameters of the URL.
    - `POST`—Sends JSON data specified in the Body text area.
        
        ![image](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/omnistudio_for_managed_packages/images/screenshot___rest___post.png)
    
    You can use Context Variables to pass inherited values with either method.