> 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.

![](https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2FDmyo8Xtamb3EepNhuPzq%2Fimage%20\(59\).png?alt=media\&token=589c423c-1779-41e3-aa23-ec36133705ce)

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

![](https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2FhIuMUEVqNVc6A15CJucZ%2Fimage%20\(58\).png?alt=media\&token=c176c5ad-1f86-47a6-ab79-6f506ff5182b)

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.

![](https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2FMN0e58LdPs4llbAUBOob%2Fimage%20\(57\).png?alt=media\&token=ebe5c515-b1ab-4f80-8b94-b405f3ef5a18)

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

![](https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2FWQfXMUCWl4i035ZkhyGH%2Fimage%20\(56\).png?alt=media\&token=318fc2d5-156f-4814-8694-34b2ee8a6b8b)

{% 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
