Understanding the properties of RestContext, RestRequest & RestResponse
Understanding the properties of RestContext, RestRequest & RestResponse
Salesforce Integration Master Course (Advanced Apex)
Buy now
Learn more
Introduction
What is Integration?
3
Things to know about SOAP API & REST API 🤯
1
What's a request and response in general!
Say Hey to API Tokens, Oauth 2.0 & Grant Types in REST API
6
Salesforce & Google Cloud Vision API [API Key]
Get access to the source code!
3
How to make a basic Http Callout in REST Api?
16
Exploring Google Cloud Vision API, testing the API using API Explorer
Create a Project, Enable API Google Cloud Console, Use Apex to hit the endpoint.
5
Create a LWC component and hook up the button to hit Google Cloud Vision Api
8
Deserializing the JSON response using JSON.deserializeUntyped
3
Creating a list of custom defined data types and sending it to LWC component.
2
Using JSON.deserialize() to deserializing the JSON and get the same output
13
Salesforce & HubSpot Integration [Auth Code Grant Type]
Intro to Auth Code flow or Authorization code flow
HubSpot account creation, app creation and implementing Auth code grant type authentication
6
Testing the API using HubSpot native playground
2
Using Postman App to get the JSON response
1
Creating a LWC component and exposing it as a Lightning Tab
Why do I need to use window.location.href and not Navigation Mixin?
5
I need to change the redirect URL and make things dynamic
Inject the Auth code from VF to LWC and hold the state of the data
Trade the auth code for access_token
1
Extract the access_token and get the company record using the token
2
Alright, let's make a POST callout now and serialize the input
2
Let's deserialize the batch companies info JSON response we got back
Use Custom Metadata Types to replace hardcoded client_id and client_secret
Use Custom Settings to store access_token, refresh_token and expires_in info
Check if access_token is valid or not and reuse it
Executing all three scenarios, fresh login, valid access_token and expired access_token
Salesforce & Service Now Integration [ via PKCE Grant Type]
Introduction to Proof Key for Code Exchange Flow [PKCE Flow]
Spinning up a new Dev Instance on Service Now Platform
Let's understand how to get auth code and access_token
10
Now that we know how to get Auth Code and access_token let's test it using Postman App
Writing code to generate and get the Auth Code
5
Let's send Auth Code to LWC and extract it using CurrentPageReference
Now let's get Access Token from Auth Code & Code Verifier
Get all incidents JSON response after Authentication
2
Salesforce & SharePoint (One Drive) Integration [Client Credentials Grant Type]
Introduction to Client Credentials Grant Type
Register a new App in Azure Dev Portal
Use Postman App, Configure Client Credentials Grant, authenticate the user and get the details of the files in OneDrive
3
Hit the SharePoint API and get the info about all Sites
Write an Apex class, implement Client Credentials Integration to get the Access Token
Use the access_token to fetch the files from the Drive
2
Path ahead!
1
Integrating Salesforce with Youtube [via API Token]
Managing API Key's
Making HTTP Callouts & handling response
13
Parsing JSON HTTPResponse
9
Using Wrapper Classes to strip JSON Response
6
Iteration through Wrapper Class Dataset
Making the Search Component Dynamic
1
Refactoring the Apex Controller
6
What's the real world problem that we are trying to solve here?
5
Integrating Salesforce with Box.com [via Authorization Code Grant Type]
Reason behind choosing Visualforce & Box.com platform
Setting up your Box.com account
3
Understanding Authorization Code Grant Type [Web Server Flow]
4
Creating client id and client secret with Box.com
10
Fetch Authorization code after successful login
3
Exchange Authorisation code for Access Token
7
Fetch and Deserialize files of a folder in Box.com using Access Token
Displaying files list on a Visualforce Page from Box.com
1
Connecting all the dots!
9
Integrating Salesforce with Box.com using LWC [via Authorization Code Grant Type]
Create a LWC and expose it as a Tab
1
Created another custom app in Box.com Dev console for Integration using LWC
1
Page Reference vs Navigation Mixin vs window.location.href
6
Fixing the issue with Lightning and query string params
8
Let's first get the access token
Let me show you another simple way to deserialize the JSON response
1
Now let's the files from a folder and display it in the LWC template
2
A few design based decisions that we cannot skip discussing
Let's work on making the code fool proof!
What if the Access Token expires? Refresh token says, Don't worry, am there!
How to handle and avoid uncommitted work pending exception?
Yet another round of refactoring the code
4
Let's get the client_id and client_secret generically using Custom Metadata Types
3
Integrating Salesforce w/ Third Party Platform [via PKCE Grant Type]
Introduction to Proof Key for Code Exchange [PKCE]
3
Let's get to the bottom of it!
4
Test the API using Postman
Apex implementation of PKCE 1/3
5
Apex implementation of PKCE 2/3
Apex implementation of PKCE 3/3
Integrating Salesforce w/ Third Party Platform[via Implicit Flow]
Introduction to Implicit Flow Grant Type
Testing API via Postman before we code it
Using Apex to implement the Implicit Flow Grant Type
Integrating Salesforce w/ Third Party Platform [via Client Credentials]
Introduction to Client Credentials Grant Type
A few changes we need to do before we test the API
Testing the API using Postman
4
Apex Implementation of Client Credentials Grant Type
8
Using Apex to get files after getting Access Token
Integrating Salesforce w/ Third Party Platform [via Username & Password Flow]
Introduction to Username and Password Grant Type
1
Testing the API using Postman
1
Using Apex to Implement the Username and Password Grant Type
14
External Credentials & Named Credentials
Implement the end-to-end External Credentials configuration
2
Make a call out using Named Principle Identity Type
1
How and when to use Per User Identity Type in principle
1
Let's get to making the endpoint dynamic, yeah!
2
Working with Github Provider Type
1
Configuring Github Provider Type using Per User Identity Type
Slam Dunk Integration using Connected Apps
Purpose of Connected Apps?
2
Integration using Web Server Flow
7
Integration using Username & Password Flow
1
Single Sign-On
Single Sign-On, why and how?
9
Things to know about Registration Handler
1
Auto Created Registration Handler Apex classes
Understanding the URL in SSO
Enabling SSO for communities
JWT [JSON Web Tokens]
Introduction, Terminology, Working & Demo
1
Creating Public Key, Private Key and Certificate
3
Creating connected app and uploading the certificate
7
Creating required classes, specifying the algorithm & framing the payload
1
Generating the assertion or signature
1
Get the access token
Fixing some interesting errors
2
Get list view details from the destination Org
1
Winding up JWT by refactoring the code
Create REST API using Apex
Create a GET method using Apex REST Service
Creating a Connected App and testing the API via Postman
4
Understanding the properties of RestContext, RestRequest & RestResponse
Create a POST method using Apex REST Service
4
Deserializing Sobject params in a POST method
4
Deserialising complex params in a POST method
7
Return response from a POST method using RestContext
Create a DELETE method using Apex REST Service
2
Few gotchas about Apex REST Framework
2
Extend Salesforce Horizon with Platform Events
Platform Events, Introduction
How to fire a Platform Event from Process Builder?
Fire a Platform Event using Flows
1
Fire a Platform Event using Apex
Fire a Platform Event with the help of API
4
How to debug the Platform Events fired?
Subscribe to the Platform Events using Process Builder
Subscribe to the Platform Event using Flows
Subscribe to the Platform Event using Triggers
Subscribe to the Platform Event using Aura Components
Subscribe to the Platform Event using Lightning Web Components
Headless Salesforce 360
I will explain Headless Salesforce 360 in super simple terms.
How to connect a client to Salesforce Headless 360
1
What's up with BULK API V2.0?
Introduction and Inserting records using BULK API V2.0
2
Let's query some data using BULK API 2.0
Delete records using BULK API 2.0
Let's work on a scenario part - 1/4
2
Let's work on a scenario part - 2/4
1
Let's work on a scenario part - 3/4
3
Let's work on a scenario part - 4/4
4
Chatter API
Introduction to Chatter Connect API
At-mentioning a user using Chatter Connect API
Post a comment programmatically using Chatter Connect API
2
Comment with a file using Chatter Connect Api
Streaming API
Introduction & Implementing a subscriber using Aura Component
3
Implementing a Subscriber using LWC
2
Tooling API
Introduction to Tooling API and when to use it?
Tooling API & Apex
2
Metadata API
Create Custom Objects using Metadata API
4
Salesforce to Salesforce Integration
Everything you need to know about end to end Salesforce to Salesforce Integration
3
Code in the Wild
Salesforce & HubSpot Integration [Auth Code Flow]
Preview unavailable
You must log in or sign up to view this lesson.
Login
Sign up
Salesforce Integration Master Course (Advanced Apex)
Buy now
Learn more
Introduction
What is Integration?
3
Things to know about SOAP API & REST API 🤯
1
What's a request and response in general!
Say Hey to API Tokens, Oauth 2.0 & Grant Types in REST API
6
Salesforce & Google Cloud Vision API [API Key]
Get access to the source code!
3
How to make a basic Http Callout in REST Api?
16
Exploring Google Cloud Vision API, testing the API using API Explorer
Create a Project, Enable API Google Cloud Console, Use Apex to hit the endpoint.
5
Create a LWC component and hook up the button to hit Google Cloud Vision Api
8
Deserializing the JSON response using JSON.deserializeUntyped
3
Creating a list of custom defined data types and sending it to LWC component.
2
Using JSON.deserialize() to deserializing the JSON and get the same output
13
Salesforce & HubSpot Integration [Auth Code Grant Type]
Intro to Auth Code flow or Authorization code flow
HubSpot account creation, app creation and implementing Auth code grant type authentication
6
Testing the API using HubSpot native playground
2
Using Postman App to get the JSON response
1
Creating a LWC component and exposing it as a Lightning Tab
Why do I need to use window.location.href and not Navigation Mixin?
5
I need to change the redirect URL and make things dynamic
Inject the Auth code from VF to LWC and hold the state of the data
Trade the auth code for access_token
1
Extract the access_token and get the company record using the token
2
Alright, let's make a POST callout now and serialize the input
2
Let's deserialize the batch companies info JSON response we got back
Use Custom Metadata Types to replace hardcoded client_id and client_secret
Use Custom Settings to store access_token, refresh_token and expires_in info
Check if access_token is valid or not and reuse it
Executing all three scenarios, fresh login, valid access_token and expired access_token
Salesforce & Service Now Integration [ via PKCE Grant Type]
Introduction to Proof Key for Code Exchange Flow [PKCE Flow]
Spinning up a new Dev Instance on Service Now Platform
Let's understand how to get auth code and access_token
10
Now that we know how to get Auth Code and access_token let's test it using Postman App
Writing code to generate and get the Auth Code
5
Let's send Auth Code to LWC and extract it using CurrentPageReference
Now let's get Access Token from Auth Code & Code Verifier
Get all incidents JSON response after Authentication
2
Salesforce & SharePoint (One Drive) Integration [Client Credentials Grant Type]
Introduction to Client Credentials Grant Type
Register a new App in Azure Dev Portal
Use Postman App, Configure Client Credentials Grant, authenticate the user and get the details of the files in OneDrive
3
Hit the SharePoint API and get the info about all Sites
Write an Apex class, implement Client Credentials Integration to get the Access Token
Use the access_token to fetch the files from the Drive
2
Path ahead!
1
Integrating Salesforce with Youtube [via API Token]
Managing API Key's
Making HTTP Callouts & handling response
13
Parsing JSON HTTPResponse
9
Using Wrapper Classes to strip JSON Response
6
Iteration through Wrapper Class Dataset
Making the Search Component Dynamic
1
Refactoring the Apex Controller
6
What's the real world problem that we are trying to solve here?
5
Integrating Salesforce with Box.com [via Authorization Code Grant Type]
Reason behind choosing Visualforce & Box.com platform
Setting up your Box.com account
3
Understanding Authorization Code Grant Type [Web Server Flow]
4
Creating client id and client secret with Box.com
10
Fetch Authorization code after successful login
3
Exchange Authorisation code for Access Token
7
Fetch and Deserialize files of a folder in Box.com using Access Token
Displaying files list on a Visualforce Page from Box.com
1
Connecting all the dots!
9
Integrating Salesforce with Box.com using LWC [via Authorization Code Grant Type]
Create a LWC and expose it as a Tab
1
Created another custom app in Box.com Dev console for Integration using LWC
1
Page Reference vs Navigation Mixin vs window.location.href
6
Fixing the issue with Lightning and query string params
8
Let's first get the access token
Let me show you another simple way to deserialize the JSON response
1
Now let's the files from a folder and display it in the LWC template
2
A few design based decisions that we cannot skip discussing
Let's work on making the code fool proof!
What if the Access Token expires? Refresh token says, Don't worry, am there!
How to handle and avoid uncommitted work pending exception?
Yet another round of refactoring the code
4
Let's get the client_id and client_secret generically using Custom Metadata Types
3
Integrating Salesforce w/ Third Party Platform [via PKCE Grant Type]
Introduction to Proof Key for Code Exchange [PKCE]
3
Let's get to the bottom of it!
4
Test the API using Postman
Apex implementation of PKCE 1/3
5
Apex implementation of PKCE 2/3
Apex implementation of PKCE 3/3
Integrating Salesforce w/ Third Party Platform[via Implicit Flow]
Introduction to Implicit Flow Grant Type
Testing API via Postman before we code it
Using Apex to implement the Implicit Flow Grant Type
Integrating Salesforce w/ Third Party Platform [via Client Credentials]
Introduction to Client Credentials Grant Type
A few changes we need to do before we test the API
Testing the API using Postman
4
Apex Implementation of Client Credentials Grant Type
8
Using Apex to get files after getting Access Token
Integrating Salesforce w/ Third Party Platform [via Username & Password Flow]
Introduction to Username and Password Grant Type
1
Testing the API using Postman
1
Using Apex to Implement the Username and Password Grant Type
14
External Credentials & Named Credentials
Implement the end-to-end External Credentials configuration
2
Make a call out using Named Principle Identity Type
1
How and when to use Per User Identity Type in principle
1
Let's get to making the endpoint dynamic, yeah!
2
Working with Github Provider Type
1
Configuring Github Provider Type using Per User Identity Type
Slam Dunk Integration using Connected Apps
Purpose of Connected Apps?
2
Integration using Web Server Flow
7
Integration using Username & Password Flow
1
Single Sign-On
Single Sign-On, why and how?
9
Things to know about Registration Handler
1
Auto Created Registration Handler Apex classes
Understanding the URL in SSO
Enabling SSO for communities
JWT [JSON Web Tokens]
Introduction, Terminology, Working & Demo
1
Creating Public Key, Private Key and Certificate
3
Creating connected app and uploading the certificate
7
Creating required classes, specifying the algorithm & framing the payload
1
Generating the assertion or signature
1
Get the access token
Fixing some interesting errors
2
Get list view details from the destination Org
1
Winding up JWT by refactoring the code
Create REST API using Apex
Create a GET method using Apex REST Service
Creating a Connected App and testing the API via Postman
4
Understanding the properties of RestContext, RestRequest & RestResponse
Create a POST method using Apex REST Service
4
Deserializing Sobject params in a POST method
4
Deserialising complex params in a POST method
7
Return response from a POST method using RestContext
Create a DELETE method using Apex REST Service
2
Few gotchas about Apex REST Framework
2
Extend Salesforce Horizon with Platform Events
Platform Events, Introduction
How to fire a Platform Event from Process Builder?
Fire a Platform Event using Flows
1
Fire a Platform Event using Apex
Fire a Platform Event with the help of API
4
How to debug the Platform Events fired?
Subscribe to the Platform Events using Process Builder
Subscribe to the Platform Event using Flows
Subscribe to the Platform Event using Triggers
Subscribe to the Platform Event using Aura Components
Subscribe to the Platform Event using Lightning Web Components
Headless Salesforce 360
I will explain Headless Salesforce 360 in super simple terms.
How to connect a client to Salesforce Headless 360
1
What's up with BULK API V2.0?
Introduction and Inserting records using BULK API V2.0
2
Let's query some data using BULK API 2.0
Delete records using BULK API 2.0
Let's work on a scenario part - 1/4
2
Let's work on a scenario part - 2/4
1
Let's work on a scenario part - 3/4
3
Let's work on a scenario part - 4/4
4
Chatter API
Introduction to Chatter Connect API
At-mentioning a user using Chatter Connect API
Post a comment programmatically using Chatter Connect API
2
Comment with a file using Chatter Connect Api
Streaming API
Introduction & Implementing a subscriber using Aura Component
3
Implementing a Subscriber using LWC
2
Tooling API
Introduction to Tooling API and when to use it?
Tooling API & Apex
2
Metadata API
Create Custom Objects using Metadata API
4
Salesforce to Salesforce Integration
Everything you need to know about end to end Salesforce to Salesforce Integration
3
Code in the Wild
Salesforce & HubSpot Integration [Auth Code Flow]