Help users quickly integrate Vanus AI
There are 2 ways to quick start as follow.
// For English Language
<script src="https://www.vanus.ai/js/ai.embed.js"></script>
<script>
const config = {
id: 'xxxx',
lang: 'en',
};
setVanusConfig(config);
</script>
// For Chinese Language
<script src="https://www.vanus.cn/js/ai.embed.js"></script>
<script>
const config = {
id: 'xxxx',
lang: 'cn',
};
setVanusConfig(config);
</script>
Name | Description | Required | Optional |
---|---|---|---|
id | Vanus AI Application ID | True | |
lang | Default language | False | en ,cn |
// For English Language
<iframe src="https://ai.vanus.ai/app/embed?id={id}"></iframe>
// For Chinese Language
<iframe src="https://ai.vanus.cn/app/embed?id={id}"></iframe>
Name | Description | Required | Optional |
---|---|---|---|
id | Vanus AI Application ID | True |