Apex

Use Apex to write, maintain, and test your custom logic on the Salesforce Platform. This object-oriented, strongly-typed, server-side language inherits its general syntax from the C language family.
Trail

Build Apex Coding Skills 

3000 PointsGet familiar with Apex and expand your skills by taking this three module trail.
Module

Unit Testing on the Salesforce Platform 

3100 PointsLearn why testing helps you create better software and how to run various unit tests.
Superbadge

Apex Specialist 

13000 PointsUse integration and business logic to push your Apex coding skills to the limit.
Superbadge

Advanced Apex Specialist 

6000 PointsBuild complex business logic using advanced Apex and Visualforce programming techniques.
All Trailhead Modules

Trailhead

Apex Recipes 

This collection gives developers concise, meaningful examples of Apex code for common use cases following best practices. The Integration recipes show how to make callouts to external services and also expose an Apex class as a custom REST endpoint.

Ecars 

This app shows how Change Data Capture is used to build loosely coupled integrations using multiple languages and systems. It shows how microservices on Heroku integrate with Salesforce, and how data is streamed to Salesforce from Kafka via WebSockets.

E-bikes 

This sample retail app helps E-Bikes, a fictitious electric bicycle manufacturer, manage their products and reseller orders. The app integrates with Salesforce Communities and uses LWC and different data access strategies.
All Code Samples

Code Samples