Get started
1
Import the script
To your existing
index.html file import the trugen widget java script file as follows2
Generate 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.
3
Configuring your widget
More Resourcess
Our Examples
Explore our official Github Repo for more examples