top of page
OmniStudioFactBg.png

Using Named Credentials in Integration Procedure

Writer's picture: Dinesh KumarDinesh Kumar

Updated: Apr 20, 2023

Configuring the Named Credential on IP helps in preventing hardcoding of endpoint URL on the http action directly and some deployment issues as well, if the endpoint URL is environment specific.

Also configuring the APIs on the Named Credentials takes care of Endpoint Authorizations with salesforce security standards.

To use Named Credentials on the HTTP action of the IP, perform the following tasks:

1. Create the named credential by providing the Name, Label and End Point URL. Provide the base URL here, so that, while deploying the IPs we can prevent the hardcoding of URLs specific to the environment. If the endpoint URL has input parameters to be passed, then we can add those in the http action element of the IP.

For Example, an endpoint URL is:

Here, if recordId needs to be passed to the endpoint dynamically, then on Named Credentials, we can add the endpoint till https://dev.api.domain.org/dev-provider-exp-api and /members/recordId/details can be added on IP.

2. As per the requirement, provide the Authentication details and create the named credential.

3. Then on the http action of the IP, the expected Method like GET, POST etc can be added on “HTTP Method” and we can add the %% mergefield to pass the URL parameter dynamically on “HTTP Path”. The respective Named Credential will be configured on “Named Credential”. Headers and Input Parameters can be added additionally if needed.



2,580 views0 comments

Recent Posts

See All

Passing Data From LWC OmniScript to FlexCard

We can pass the data from LWC OmniScript to FlexCard in four ways. Pass a set of records using parent-data=true and records global...

Passing Data From Child to Parent FlexCard

We can pass the data from child to parent FlexCard using Custom Event as below: 1. Create a Custom Event action on the child FlexCard....

Comments


OmniStudioFactFooterBg.png
logo.png

OmniStudiofacts helps us to build a Vlocity/OmniStudio Tech Community which focuses on sharing technical skills and experience across the globe.

© 2023 by OmniStudioFacts.

bottom of page