> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chatfeatured.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Duda integration

> Publish ChatFeatured articles to a Duda site's blog as drafts, live posts or scheduled posts.

The Duda integration publishes ChatFeatured articles to the blog on a Duda site, with no export and import by hand. It also works for sites on a platform built on Duda. You connect with a Duda API username and password and the site's name, and then save drafts, publish or schedule posts from the article editor, the agent or MCP. You'll find it under **Integrations → Duda** in your project.

## Before you start

* Duda turns on **API access** per account. If your site runs on a platform built on Duda, that platform holds the API username and password, so ask them for a pair.
* The site needs **a blog**. Add one in the Duda editor first.
* The site has to be **published** in Duda before its posts get a public address.
* The API username and password reach every site in the Duda account. ChatFeatured only writes to the blog of the site you name.

## Setup

**1. Get the API username and password**

Sign in to Duda as the account owner and open **Business tools → API access**. Copy the **API username** and the **API password**. These are not the email and password you sign in to Duda with.

If there's no **API access** page, Duda hasn't turned the API on for the account. Ask Duda support, or the platform that runs your site, for access.

**2. Find the site name**

Open the site in the Duda editor. The site name is the short code in the address bar after `/site/`, such as `28e1182c`. It isn't the site's domain.

**3. Connect in ChatFeatured**

Go to **Integrations → Duda**. Under **Connect a blog**, fill in **API username**, **API password** and **Site name**. **Default author** is optional: it's the name Duda shows on posts.

Click **Connect blog**. ChatFeatured signs in to Duda and checks that the site has a blog.

The site now appears under **Connected blogs** and as a publish destination on your articles. To connect another site, fill in the form again; you choose the site at publish time. To change the password or default author, click the pencil on the site's card, edit the form and click **Save changes**. Don't disconnect the site for this: disconnecting unlinks the posts already published, so publishing those articles again would add new posts instead of replacing them.

## Publishing articles

From the article editor, click **Publish** (or **Schedule**) and choose your Duda site. The **Publish to Duda** dialog has:

* **Publish Status**: **Save as Draft**, **Publish Now** or **Schedule**.
* **Schedule Date & Time** and **Timezone**, when you schedule.
* **Author**: the name shown on the post. Leave it empty to use the connection's default author.

### What gets sent

| ChatFeatured | Duda | Required | Notes |
| - | - | - | - |
| Title | Post title and SEO title | Yes | |
| Content | Post body | Yes | Headings, lists, links, tables and images carry over. |
| Featured image | Main image and thumbnail | No | |
| Meta description | Post description | No | Falls back to the excerpt. |
| Slug | Post URL | Yes | Kept under the folder your blog puts posts in. |
| Author | Author name | No | |

## What happens when you publish, update, unpublish, schedule

| You do this in ChatFeatured | What happens in Duda | The article in ChatFeatured |
| - | - | - |
| **Save as Draft** | The post is added as a draft. | Stays in its current status, so you can still publish it. |
| **Publish Now** | The post goes live immediately. | Moves to Published. |
| **Schedule** | Nothing yet. ChatFeatured publishes the post at the time you set. | Moves to Scheduled, then to Published at that time. |
| **Cancel Schedule** | Nothing. | Returns to review. |
| **Unpublish** | The post is taken offline. It stays in Duda as a draft. | Returns to review. |
| **Publish again** | The post is replaced by a new one at the same address. | Moves to Published. |

Duda can't edit a post's body once it's imported, which is why publishing again replaces the post. Changes made to the post inside Duda are lost when that happens, so edit the article in ChatFeatured and publish it again.

When a post goes live, ChatFeatured records its URL and starts attributing AI citations of that page to the article.

## Troubleshooting

> [accordion] Duda rejected the API username or password.
>
> Copy both again from **Business tools → API access** in Duda. If the API password was reset, click the pencil on the site's card and save the new one.

> [accordion] Duda could not find that site, blog or post.
>
> Check the site name. It's the short code from the editor's address bar, and the site has to belong to the account the API username came from.

> [accordion] This Duda site has no blog yet.
>
> Add a blog to the site in the Duda editor, then click **Connect blog** again.

> [accordion] The post was published, but this Duda site isn't published yet, so it has no public URL.
>
> Publish the site in Duda, then publish the article again so ChatFeatured can record its URL.

> [accordion] Duda kept its own address for this post
>
> Another page or post on the site already uses the article's slug, so Duda kept the address it gave the post. Change the slug in ChatFeatured, or free the address in Duda, and publish again.

If a publish fails, the error also appears as **Last error** on the site's card under **Connected blogs**.

## Related

> [card] [All integrations](https://docs.chatfeatured.com/integrations/overview.md)
>
> Every CMS and analytics integration ChatFeatured supports.

> [card] [Articles](https://docs.chatfeatured.com/using-chatfeatured/articles.md)
>
> How articles move from idea to published.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.