> 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-search-lightning-component-dev-skills-required.md).

# Using on Lightning with "SharinPix Search" Lightning Component (Dev Skills Required)

The present article will show how to use the SharinPix Search Lightning Component in Salesforce.

The Lightning Component **SharinPix Search** is already installed with the SharinPix package. In the present context, we will use this component on the record page of the Account object.

* Access the **Lightning App Builder:**
  * The attribute **Report ID** corresponds to the **Report** record that references one or more records from which to display the relevant images.
  * The attribute **Tag Operator** possesses two values: **OR** and **AND.** Those values are logical operators that ensure that the tags are either both present or one of them is at-least present on the image search result.
  * The attribute **Tag Names** correspond to the set of tags in JSON format that will be used as a search filter by the attribute **Tag Operator**. Example: \["Paris", "London"]
  * The attribute **Affixes** are prefixes and suffixes to add to the object IDs returned by the report. Value should be an array in JSON format. Leave blank for none. Example: \["london\_+", "+\_paris"]
  * The **Height** attribute defines the search result area measured in pixels(px).

![](https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2F2JoW8DqBaK5fOfRxY7xz%2Fimage%20\(63\).png?alt=media\&token=620225bc-e332-443e-92d1-94dbbee4ff57)

* The screenshot demonstrates how the SharinPix Search Lightning Component appears on a record Page of an Account Object.

![](https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2Fgit-blob-e314f48e3261fba55c167b9e18fc2ae196e20d18%2Fsharinpix_search.png?alt=media)


---

# 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-search-lightning-component-dev-skills-required.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.
