Sheets
  • Introduction
  • REST API
    • Authentication
    • Reading / updating a workbook
    • Creating / uploading a workbook
    • Simulation API
  • GraphQL API
  • Authentication in production
  • Embedding example
  • Excel compatibility
  • Example apps
Powered by GitBook
On this page

Embedding example

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

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

PreviousAuthentication in productionNextExcel compatibility

Last updated 2 years ago