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

![](/files/3aEizjsxiYSGTfCTER4o)

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

![](/files/WS9t7hjDt1wL6AseABvW)


---

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