---
schema_version: "1"
id: ec346ebd80b79274a0450a5848727197380cc9267518301fb50f8cbb971b9eae
title: Named Credential Example Configurations
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/nc_example_configurations.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.nc_example_configurations.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f2e7661b331a0953a3fb255be89d4714d769094c5805c837e22007af5b99c560
description: Explore scenarios for configuring named credentials to make callouts to various external systems. The examples cover the entire named credential configuration for different authentication protocols and principal types.
products:
  - Security
release: "264"
---
# Named Credential Example Configurations

Explore scenarios for configuring named credentials to make callouts to various external systems. The examples cover the entire named credential configuration for different authentication protocols and principal types.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: all editions</td></tr></tbody></table>

- **[Named Credential Example: OAuth 2.0 Browser Flow with a Named Principal](https://help.salesforce.com/s/articleView?id=xcloud.nc_example_oauth_github.htm&release=264.0.0&type=5)**  
    In this example, configure a named credential with the OAuth 2.0 Browser Flow to make authenticated callouts to GitHub. This example uses the Named Principal identity type, meaning that a Salesforce admin authenticates to GitHub on behalf of all users in the org.
- **[Named Credential Example: OAuth 2.0 Browser Flow with a Per User Principal](https://help.salesforce.com/s/articleView?id=xcloud.nc_example_oauth_github_per_user.htm&release=264.0.0&type=5)**  
    In this example, configure a named credential with the OAuth 2.0 Browser Flow to make authenticated callouts to GitHub. This example uses the Per User identity type, meaning that each user authenticates to GitHub.

#### See Also

- [Named Credentials](https://help.salesforce.com/s/articleView?id=xcloud.named_credentials_about.htm&release=264.0.0&type=5 "Intended to secure and simplify authenticated API callouts to external systems, a named credential specifies the URL of a callout endpoint and its required authentication parameters in one definition. To streamline your Apex code and simplify the setup of authenticated callouts, specify a named credential as the callout endpoint.")