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 Create Action Buttons In Salesforce

Updated on:
May 12, 2026
By:
Madhav Bhandari
Use this interactive demo to learn how to build and add custom action buttons to any Salesforce object.

Quick summary

Creating custom action buttons in Salesforce lets admins add clickable controls directly to object page layouts, enabling users to trigger URLs, links, or Apex logic without leaving the record. This guide walks through the full process — from Object Manager setup to dragging the button into a live page 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. Open Buttons, Links, and Actions from the left pane.
  4. Click the New Button or Link button in the top right to start creating a custom button.
  5. Define the button's properties: set the Label, choose a Display Type (link or button), configure the Behaviour (e.g., open in new window), and specify the Content Source such as a URL or Apex code.
  6. Check for syntax errors in your link or formula using the built-in validator.
  7. Click Save to store the configured button.
  8. Navigate to Page Layout in the left pane.
  9. Open an existing layout or create a new one using the top-right option.
  10. Select Buttons in the layout editor to find 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

Custom action buttons in Salesforce give admins a no-code way to surface key workflows — like opening external URLs or triggering Apex logic — directly on object records such as Opportunities and Accounts. By embedding these buttons into page layouts, teams can reduce context-switching and accelerate repetitive tasks without developer support. This capability is essential for Salesforce admins looking to improve CRM usability, enforce consistent processes, and extend the platform's native functionality. Getting this right means faster user adoption and fewer manual errors across your sales and ops teams.
Your product deserves an interactive demo
Start free
Similar Articles
Salesforce

How to Use Salesforce Inspector Reloaded

Madhav Bhandari
Director of Marketing @ Storylane
Salesforce

How to Enable Account Contact Relationship in Salesforce

Madhav Bhandari
Director of Marketing @ Storylane
Salesforce

How to Edit Report Description in Salesforce

Madhav Bhandari
Director of Marketing @ Storylane
No items found.
Platform
Interactive Demos
Sandbox Demos
Hubs
RepX
Integrations
Solutions
Product Marketers
Growth & Demand Gen
Sales Reps & AEs
Presales & SEs
Customer Success
Product Managers
Customers
Demo Showcase
Customer Stories
Finer Demos Club
Features
Demo Signals
Personalization
Deal Intelligence
Resources
Blog
The Plot
Tutorials
Help Docs
What’s New
Demo Dundies
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