> For the complete documentation index, see [llms.txt](https://docs.sharinpix.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sharinpix.com/documentation/features/main-integration/using-on-lightning-with-sharinpix-album-lightning-action.md).

# Using on Lightning with "SharinPix Album" Lightning Action

The present article shows the different ways to use a Lightning Action within the Salesforce Lightning Experience. You'll be able to launch SharinPix from an Action on any Page Layout, and you can access it from your mobile phone as well.

## Open SharinPix Album with Lightning Action

* Go to Setup -> Object Manager. Select the Object Type on which you intend to add the custom action. In the present case, it will be added on the Account Object.
* On the left-hand-side of the screen, select the Button, Links and Actions item.

![](/files/YspACs5cIuc1GSJG90sx)

* For the Action Type picklist, select Lightning Component.
* For the Lightning Component field, select \<sharinpix>:SharinPixAlbum. (as shown in the figure below).

![](/files/TaTbRUwpS6E094tHcEDm)

1. Adjust the Height to a minimum of 525px.
2. Select a Standard Label Type.
3. Label: SharinPix Album
4. Name: SharinPix\_Album
5. Click on save.
6. The next step is now to add the Custom Action to the Account Page Layout.
7. Head over to the Account Page Layout most relevant to your case.
8. From Mobile & Lightning Actions, drag and drop the SharinPix Album action inside the Salesforce Mobile and Lightning Experience Actions section. Click on save.

* Access an account record. The newly-created custom action should appear on the page-layout.

![](/files/ZojxrDmnWlCryqpx4XKE)

* When the action is selected, the SharinPix Album is launched as shown in the image below.

![](/files/DgRkSxxTkrt4VXydHNZC)

{% hint style="success" %}
Don't hesitate to name your Lightning Action with something more relevant than SharinPix Album corresponding to your business.

Something such as "Camera" / "Photos" ....

Please note than those actions could be available on mobile under Salesforce mobile App. Refer to articles on the Mobile App for more information.

If you want your action to use a camera icon, you can find some while searching for SharinPix or Camera when adding the icon to the action.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sharinpix.com/documentation/features/main-integration/using-on-lightning-with-sharinpix-album-lightning-action.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
