Salesforce Developer Tutorial: How to use Named Credentials to simplify your Apex Integrations

In this video we go over how and why you would care to use Named Credentials when doing integrations in Apex. How it can save you from writing lots of code and reduce the amount of configuration you need to use as well. Once you figure out how to use them, you're gonna wonder why you didn't do it to begin with! They make life a lot easier in many scenarios! Schedule Salesforce consulting time with me here: https://calendly.com/codingwiththefor... Please consider donating to help continue to improve the content produced for Coding With The Force: https://www.paypal.com/donate?busines... Get Coding With The Force Merch Here: https://my-store-d20559.creator-sprin... GitHub repo with code from this video here: https://github.com/Coding-With-The-Fo... For more information on this check out the blog post here: https://codingwiththeforce.com/salesf... Java Github OAuth Example:    • Retrofit Tutorial — OAuth Authentication w...   Follow all of our social media here: Patreon:   / codingwiththeforce   Github: https://github.com/Coding-With-The-Force Facebook:   / codingwiththeforce   Twitter:   / coding_force   Instagram:   / codingwiththeforce   Salesforce development books I recommend: Advanced Apex Programming: https://amzn.to/3lXi8to Salesforce Lightning Platform Enterprise Architecture: https://amzn.to/2R0D4BQ Mastering Salesforce DevOps: https://amzn.to/3lTtTRN Apex Design Patterns Book: https://amzn.to/3DwqljP Good Non-SF Specific Development Books: Clean Code: https://amzn.to/35PuMDU Clean Architecture: https://amzn.to/35FYo6A Design Patterns: Elements of Reusable Object-Oriented Software Book: https://amzn.to/3LhvHBd --------------------------------------------------------------------------------------------------------------------------- Table of Contents: 0:00 - Intro 0:22 - Why bother using Named Credentials? 1:50 - Unauthenticated Named Credential Demo 9:26 - Password Authentication Named Credential Demo 16:30 - OAuth 2.0 Named Credential Demo 32:00 - Outro DISCLAIMER: The views and ideas expressed on this YouTube channel and blog are based on past development experiences and may not always work for your particular scenarios. The advice in these videos may also become outdated as technology advances. They should be used as examples for educational purposes only. Using any shown solutions in your own org is not advisable since they are example scenarios. #salesforce #salesforcedeveloper #salesforceadmin

Salesforce Developer Tutorial: How to Implement a Trigger Framework
▶︎

Salesforce Developer Tutorial: How to Implement a Trigger Framework

Salesforce Integrations: Named Credentials and External Credentials
▶︎

Salesforce Integrations: Named Credentials and External Credentials

Salesforce Developer LWC Tutorial - The Beginner's Guide to Lightning Web Components in 2026
▶︎

Salesforce Developer LWC Tutorial - The Beginner's Guide to Lightning Web Components in 2026

7 Authentication Concepts Every Developer Should Know
▶︎

7 Authentication Concepts Every Developer Should Know

Architectural Patterns for Spring Security You Wish Your Tech Lead Knew @ Spring I/O 2026
▶︎

Architectural Patterns for Spring Security You Wish Your Tech Lead Knew @ Spring I/O 2026

England – Argentinien Highlights | Halbfinale, FIFA WM 2026 | sportstudio
▶︎

England – Argentinien Highlights | Halbfinale, FIFA WM 2026 | sportstudio

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker
▶︎

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

England vs. Argentina Highlights FIFA World Cup 2026 | Sportschau
▶︎

England vs. Argentina Highlights FIFA World Cup 2026 | Sportschau

Salesforce Developer Tutorial (LWC) - The Complete Guide to LWC Lifecycle Hooks
▶︎

Salesforce Developer Tutorial (LWC) - The Complete Guide to LWC Lifecycle Hooks

Salesforce Apex Master Class (Ep. 5) - How to Setup Visual Studio Code for Salesforce Development
▶︎

Salesforce Apex Master Class (Ep. 5) - How to Setup Visual Studio Code for Salesforce Development

Apex Callouts with Improved Named Credentials | Mini Hacks Solved | Season 02
▶︎

Apex Callouts with Improved Named Credentials | Mini Hacks Solved | Season 02

Salesforce Development Tutorial - A Complete Guide To Asynchronous Apex in Salesforce
▶︎

Salesforce Development Tutorial - A Complete Guide To Asynchronous Apex in Salesforce

China Is About To Pop The AI Bubble
▶︎

China Is About To Pop The AI Bubble

Salesforce Experience Cloud - How to use Salesforce CMS in a Community and use CMS Connect
▶︎

Salesforce Experience Cloud - How to use Salesforce CMS in a Community and use CMS Connect

How To Become A Top Tier Architect (Google & AWS Veteran)
▶︎

How To Become A Top Tier Architect (Google & AWS Veteran)

Salesforce Developer Tutorial - How to use the Apex Replay Debugger to Debug FAST in VSCode
▶︎

Salesforce Developer Tutorial - How to use the Apex Replay Debugger to Debug FAST in VSCode

Salesforce Tutorial For Beginners | Introduction To Salesforce | Salesforce Training | Simplilearn
▶︎

Salesforce Tutorial For Beginners | Introduction To Salesforce | Salesforce Training | Simplilearn

Episode 8 - Integrate Salesforce with external system using REST API
▶︎

Episode 8 - Integrate Salesforce with external system using REST API

System Design Explained: APIs, Databases, Caching, CDNs, Load Balancing & Production Infra
▶︎

System Design Explained: APIs, Databases, Caching, CDNs, Load Balancing & Production Infra

4 Hours of Deep Focus Music for Studying - Concentration Music For Deep Thinking And Focus
▶︎

4 Hours of Deep Focus Music for Studying - Concentration Music For Deep Thinking And Focus