Newer Version Available
Add Lightning Components as Custom Tabs in a Lightning Experience App
Make your Lightning components available for Lightning Experience users by displaying
them in a custom tab in a Lightning Experience app.
| Available in: Salesforce Classic (not available in all orgs) and Lightning Experience |
| Available for use in: Contact Manager, Group,
Professional, Enterprise, Performance, Unlimited, and
Developer
Editions Create Lightning components using the UI in Enterprise, Performance, Unlimited, Developer Editions, or a sandbox. |
| User Permissions Needed | |
|---|---|
| To create Lightning Component Tabs: | Customize Application |
In the components you wish to include in Lightning Experience, add implements="force:appHostable" in the aura:component tag and save your changes.
1<aura:component implements="force:appHostable">To create Aura components, use the Developer Console.
To display Lightning components in a custom tab in a Lightning Experience app, you must enable My Domain.
Follow these steps to include your components in Lightning Experience and make them available to users in your organization.
-
Create a custom tab for this component.
- From Setup, enter Tabs in the Quick Find box, then select Tabs.
- Click New in the Lightning Component Tabs related list.
- Select the Lightning component that you want to make available to users.
- Enter a label to display on the tab.
- Select the tab style and click Next.
- When prompted to add the tab to profiles, accept the default and click Save.
- To check your output, navigate to the App Launcher in Lightning Experience. Click the custom app to see the components that you added.