Get started
Import the script
To your existing
index.html file import the trugen widget java script file as followsGenerate an API key
- Using TruGen.AI Developer Platform, generate an API key from our developers page.
- Set the newly generated API key as
apiKeyvariable in the widget script configuration.
Configuring your widget