# Embedding example

This code snippet shows how to quickly embed an EquaTo Sheet in a web application:

```html
<div id="workbook-slot" style="height:100%;min-height:300px;"></div>
<script src="https://sheets.equalto.com/static/v1/equalto.js">
</script>
<script>
  // WARNING: you should not expose your license key in client,
  //          instead you should proxy calls to EqualTo.
  EqualToSheets.setLicenseKey(
    "<your license key>"
  );
  // Insert spreadsheet widget into the DOM
  EqualToSheets.load(
    "<workbook id>",
    document.getElementById("workbook-slot")
  );
</script>

```

Just make sure you replace `<your license key>` and `<workbook id>` with suitable values.


---

# Agent Instructions: 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:

```
GET https://docs.equalto.com/embedding-example.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
