Sapling Logo
← Back to docs

Lets get started!

<script src="https://sapling.ai/static/js/sapling-sdk-v1.0.6.min.js"></script>
<div contenteditable="true" id="demo-editor"></div>

<script type="text/javascript">
Sapling.init({
  key: "<API_KEY>",
  mode: 'dev',
  autocomplete: true,
});

const contentEditable = document.getElementById('demo-editor');
Sapling.observe(contentEditable);
</script>