Asyntai AI Chatbot Provider for Pulumi
Manage your Asyntai AI chatbots as code. Create AI agents for your websites, set the widget look and behaviour, write the AI instructions, fill the knowledge base and register webhooks from TypeScript, Python, Go, C# or YAML.
Agencies and teams that run chatbots on many sites keep every bot in version control, review changes in pull requests and roll out the same setup to each new site with one pulumi up.
Full guide: asyntai.com/documentation/integrations/pulumi/
Install
| Language | Package |
|---|---|
| TypeScript / JavaScript | npm install @asyntai/pulumi |
| Python | pip install pulumi_asyntai |
| Go | go get github.com/asyntai/pulumi-asyntai/sdk/go/asyntai |
| .NET | dotnet add package Asyntai.Pulumi.Asyntai |
| Any language | pulumi package add asyntai |
Configure
Copy your API key from the API Settings page and store it as a secret:
pulumi config set asyntai:apiKey --secret
Or set the ASYNTAI_API_KEY environment variable. The Asyntai API is part of the Starter, Standard and Pro plans.
Example
import * as asyntai from "@asyntai/pulumi";
const shop = new asyntai.Website("shop", {
domain: "shop.example.com",
name: "Shop assistant",
});
new asyntai.WebsiteSettings("shop", {
websiteId: shop.id,
settings: {
ai_support_name: "Ava",
widget_color: "#0f172a",
},
});
new asyntai.Instructions("shop", {
websiteId: shop.id,
instructions: "You are the shop assistant of Example Shop. Answer in a friendly, short way.",
});
new asyntai.KnowledgeText("shipping", {
websiteId: shop.id,
title: "Shipping FAQ",
content: "We ship to the EU in 2 to 4 working days.",
});
export const embedCode = shop.embedCode;
Resources
| Resource | What it manages |
|---|---|
asyntai.Website |
A website (AI agent). Gives the widget ID and the embed code |
asyntai.WebsiteSettings |
Widget settings: name, colours, welcome message, reply languages and more |
asyntai.Instructions |
The AI instructions the agent follows |
asyntai.KnowledgeText |
A text item in the knowledge base |
asyntai.KnowledgeUrl |
A web page in the knowledge base |
asyntai.Webhook |
A webhook for new messages, new chats, leads, tickets and human takeovers |
Functions: asyntai.getWebsites lists every website in your account, and asyntai.getWebsite reads one.
How it is built
This provider is built with the Pulumi Terraform Bridge from terraform-provider-asyntai, so both tools share the same, tested code.
make build # schema, provider binary and SDKs
make build_sdks # compile the SDKs
License
MPL-2.0
Metadata
Release files for pulumi-asyntai 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pulumi_asyntai-1.0.1.tar.gz | 20.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pulumi_asyntai-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 51.0 kB
Release files / pulumi_asyntai-1.0.1.tar.gz
| Download URL | pulumi_asyntai-1.0.1.tar.gz |
|---|---|
| Size | 20.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
87775fa87dbe8175c6847c33bbf045b7a6b253427a3a74f999f02e31c544c7ce
|
|
BLAKE2b-256 checksum How to use checksums |
d4fe369d83d8071536cc5779f7935e9cd2d43e253caadc258ad5b1fb53ad5efd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / pulumi_asyntai-1.0.1-py3-none-any.whl
| Download URL | pulumi_asyntai-1.0.1-py3-none-any.whl |
|---|---|
| Size | 31.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c2af124dcab595ccca8adfe74ff1ea080e04c9c625953496296ddc61026efe4f
|
|
BLAKE2b-256 checksum How to use checksums |
cbddcd85a5074db4ce5e73a26da082385f4d5e76a28b55c77ac723c8aa44eb9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Security for pulumi-asyntai 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.