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

Опубликовано: 12 Октябрь 2024
на канале: Coding With The Force
19,054
196

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!

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 Authenticat...  

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