How Respond.io increased trial clicks by 162% • 23rd April
Save your seat
Talk to RepX
Book a demo
Explore Hub
Platform
Products
Demos
Guided interactive demos and sandbox environments
Hubs
All the demos and collateral your buyers need in one place
New!
RepX
New
Conversational agents to qualify and convert prospects
Features
Demo Signals
Deal Intelligence
Personalization
Integrations
Enterprise
Download
Chrome Extension
Desktop App
Figma Plugin
Explore
AI-powered Lily
Built for Enterprise
Solutions
Used by GTM teams
Marketing
Turn curiosity into conversions with self-guided demos
Sales
Close more deals faster with interactive demo experiences
Customers
Customer Showcase
Check out how 5000+ GTM teams win with Storylane
Customer Resources
Customer Stories
Finer Demos Club
Demo Kitchen
Demo Dundies
    Our executive team continues to rave about how well Storylane visualizes our own tool!
Emily Elizabeth
VP Marketing
    Storylane's by far the easiest and most reliable out of other competitors.
Martin Kurowski
Product Marketing Manager
    Intuitive, powerful, and easy to use platform.
Matt Slotten
Marketing
35
demos in 3 weeks
Michael DeMarco
Product Marketing Manager
Read Case Study
    It’s actually kind of shocking how fast it was for us.
Katie Fairbank
Director of Product Marketing
Read Case Study
Wall Of Love
Resources
Resources
The Plot
Blog
Help Docs
Webinars
What’s New
Featured
Report
The impact of interactive demos on conversion rates & time to convert
What’s New
Release notes
New!
Pricing
Start for free
Book a demo
Platform
Products
Demos
Guided interactive demos and sandbox environments
Hubs
All the demos and collateral your buyers need in one place
New!
RepX
New
Conversational agents to qualify and convert prospects
Features
Demo Signals
Deal Intelligence
Personalization
Integrations
Enterprise
Download
Chrome Extension
Desktop App
Figma Plugin
Explore
AI-powered Lily
Built for Enterprise
Solutions
Used by GTM teams
Marketing
Turn curiosity into conversions with self-guided demos
Sales
Close more deals faster with interactive demo experiences
Customers
Customer Showcase
Check out how 5000+ GTM teams win with Storylane
Customer Resources
Customer Stories
Finer Demos Club
Demo Kitchen
Demo Dundies
    Our executive team continues to rave about how well Storylane visualizes our own tool!
Emily Elizabeth
VP Marketing
    Storylane's by far the easiest and most reliable out of other competitors.
Martin Kurowski
Product Marketing Manager
    Intuitive, powerful, and easy to use platform.
Matt Slotten
Marketing
35
demos in 3 weeks
Michael DeMarco
Product Marketing Manager
Read Case Study
    It’s actually kind of shocking how fast it was for us.
Katie Fairbank
Director of Product Marketing
Read Case Study
Wall Of Love
Resources
Resources
The Plot
Blog
Help Docs
Webinars
What’s New
Featured
Report
The impact of interactive demos on conversion rates & time to convert
What’s New
Release notes
New!
Pricing
Login
Start for free
Book a demo
It’s happening! Demo Dundies is back with Season 2.
Nominate your best demos
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
Start free
All Tutorials /Salesforce

How to Add a Button in Salesforce Lightning

Updated on:
May 11, 2026
By:
Madhav Bhandari
Use this interactive demo to learn how to create and add a custom button in Salesforce Lightning.

Quick summary

This tutorial shows how to create a custom button in Salesforce Lightning using the Object Manager and add it to a page layout. Admins can configure button properties such as label, display type, behavior, and content source, then drag the button directly onto any object's layout.


Steps

  1. Navigate to Setup and go to Object Manager.
  2. Locate the specific object where you want to add the button (e.g., Account, Opportunity).
  3. Look for Buttons, Links, and Actions in the left pane.
  4. Click the New Button or Link button on the top right to create a new custom button.
  5. Define the button's properties: set the Label, choose a Display Type (link or button), configure Behaviour (e.g., open in a new window), and specify the Content Source such as a URL or Apex code.
  6. Check for syntax errors while inputting your link and formula.
  7. Click Save to save the configured button.
  8. Navigate to Page Layout in the left pane.
  9. Click on an existing layout or create a new one from the top right.
  10. Select Buttons to see your newly created custom button.
  11. Click and hold the button, then drag it to the desired section of the page layout.
  12. Click Save to apply the changes to the page layout.

📌 Why this matters

Adding custom buttons in Salesforce Lightning lets administrators tailor the CRM interface to match specific business workflows without writing complex code. Custom buttons and links on objects like Opportunity or Account allow sales teams to trigger external URLs, run Apex logic, or navigate users directly to relevant resources — all from within the record view. This level of Salesforce customization reduces manual steps, accelerates rep productivity, and ensures critical actions are always one click away. For organizations scaling their Salesforce setup, mastering custom button creation in the Object Manager is a foundational admin skill that drives measurable efficiency gains.
Your product deserves an interactive demo
Start free
Similar Articles
Salesforce

How To Deploy Automation Sequences In Salesforce

Madhav Bhandari
Director of Marketing @ Storylane
Salesforce

How To Organize Product Categories In Salesforce

Madhav Bhandari
Director of Marketing @ Storylane
Salesforce

How To Create Action Buttons In Salesforce

Madhav Bhandari
Director of Marketing @ Storylane
No items found.
Platform
Demos
RepX
Hubs
Integrations
Solutions
Marketing
Sales
Features
Demo Signals
Personalization
Deal Intelligence
Resources
Blog
Tutorials
Help Docs
What’s New
Demo Dundies
Customers
Demo Showcase
Customer Stories
Finer Demos Club
Company
Careers
Pricing
Partners
Contact
Trust Center
Backed by
Chrome Extension Icon
Chrome extension
Download
Desktop app
Download
Built in San Francisco Bay Area - ©2026 Storylane
Privacy PolicyTerms & Conditions
X Corp (formerly Twitter)LinkedIn
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it