Connecting Stay AI to Kodif lets your AI Agent look up and manage customer subscriptions directly, so it can resolve requests like skips, pauses, address changes, and cancellations without handing them off to your team.
Before you start
You'll need:
Admin access to your Stay AI account
Admin access to your Kodif dashboard
Part 1: Generate your Stay AI API key
Log in to your Stay AI admin.
From the left-hand menu, go to Account > API Token.
Click New API Key and fill in the following:
Name: something recognizable, for example Kodif Integration
Description: for example Integration with Kodif AI Agent
Email: your admin or integration contact email
Scopes: select All for full integration
Click OK to generate the key.
In the API Tokens list, click the copy icon next to your new key. Store it somewhere secure, since you'll paste it into Kodif in the next step.
Part 2: Enable Stay AI in Kodif
Log in to your Kodif dashboard.
In the left-hand menu, go to AI Agent > Channels & Integrations (under Channels & Settings).
Scroll to the Subscriptions section and find the Stay AI card.
Click Enable.
On the Settings tab, under API Credentials, paste your Stay AI API key into the API Key field.
Once connected, the Stay AI card shows an Enabled badge along with Go to Stay AI, Settings, and Disable options. Click Settings any time you want to come back and change your configuration.
Part 3: Choose which actions the AI can take
Under Supported Actions, toggle on each action you want your AI Agent to be able to perform. The AI will only take actions you've turned on here.
Action | What it lets the AI do |
|---|---|
Cancel Subscription | Cancel a customer's subscription |
Pause Subscription | Temporarily pause a subscription |
Reactivate Subscription | Reactivate a paused or canceled subscription |
Change Frequency | Change how often subscription orders ship |
Get Shipping Address | Look up the shipping address on a subscription |
Change Shipping Address | Update the shipping address on a subscription |
Change Next Order Date | Move the date of the next scheduled order |
Send Now | Process the next order immediately |
Skip Order | Skip the next scheduled order |
Apply Discount | Apply a discount to a subscription |
Add Recurring Product to Subscription | Add a product that ships with every order |
Add One-Time Product to Subscription Order | Add a product to the next order only |
Send Payment Method Update Email | Email the customer a link to update their payment method |
Swap Subscription Product | Replace a product on the subscription with a different one |
Remove Recurring Product from Subscription | Remove a product from the subscription |
Available Intervals
If you've enabled Change Frequency, use Available Intervals to list the delivery frequencies the AI can offer customers. Use this format:
10d= 10 days2w= 2 weeks6m= 6 months1y= 1 year
Part 4: E-commerce settings
Update Customer Default Address: when this is on and the AI changes a subscription's shipping address in Stay AI, it also updates the customer's default address in your e-commerce platform (for example, Shopify). Leave it off if you want subscription address changes to stay in Stay AI only.
Need help?
If you have questions about the Stay AI integration, reach out to your Kodif Customer Success Manager.