# Duda integrations: sites and blog posts

> Create a site and publish a blog post in Duda, and start a workflow when Duda sends “Site published”.

**Canonical page:** https://tray.ai/connectors/duda-integrations/
**Categories:** Marketing
**Connects through:** HTTP Connector

## Overview

Duda is a white-label website builder for agencies and SaaS platforms, used to create, publish and manage client websites, blogs and online stores at scale. Tray.ai connects to Duda through the HTTP Connector, so your workflows can call the Duda API alongside the rest of your stack. API access comes through Duda's partner program or API plan, so you need approved credentials first.

## Use cases

### Sites

Read and create sites in Duda from any Tray.ai workflow. The Duda API covers calls such as get a site and create a site.

- Get a site
- Create a site
- Publish a site

### Accounts

Read, create, update, and delete accounts in Duda from any Tray.ai workflow. The Duda API covers calls such as get an account and create an account.

- Get an account
- Create an account
- Update an account

### Blog posts

Read, create, update, and delete blog posts in Duda from any Tray.ai workflow. The Duda API covers calls such as list blog posts and get a blog post.

- List blog posts
- Get a blog post
- Import a blog post

### Account links

Read account links in Duda from any Tray.ai workflow. The Duda API covers calls such as get an SSO link and get a password reset link.

- Get an SSO link
- Get a password reset link
- Get a welcome link

### Duda events

Start a Tray.ai workflow the moment something happens in Duda. Duda sends events such as site published and site unpublished to a Tray.ai webhook trigger.

- Site published
- Site unpublished
- Site created

## Challenges Tray.ai solves

### Keeping Duda credentials out of logs

A raw API call usually means pasting a key or token into the request, where it ends up in step inputs, logs, and screenshots.

**How Tray.ai helps:** Store Duda credentials once as a Tray.ai authentication and reference them from the HTTP Connector. Tray.ai masks authentication values in logs, so the secret never shows up in a step's input or output.

### Going from the Duda API docs to a working call

Translating an example request from API docs into a workflow step means copying the method, URL, headers, and body by hand.

**How Tray.ai helps:** Paste a cURL example from the Duda API docs into the HTTP Connector and Tray.ai fills in the method, URL, headers, and body for you.

### Handling files and non-JSON responses

Not every API answers in JSON. Some return XML, files, or binary data, or expect a multipart upload.

**How Tray.ai helps:** The HTTP Connector parses JSON and XML responses, returns files you can pass to the next step, and sends multipart form data for uploads.

## Frequently asked questions

### Does Tray.ai connect to Duda?

Yes. Tray.ai connects to Duda through the HTTP Connector, which calls the Duda API directly. Any call the Duda API documents can run as a step in a Tray.ai workflow. API access comes through Duda's partner program or API plan, so you need approved credentials first.

### How does Tray.ai authenticate with Duda?

The Duda API uses basic authentication. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

### Can I get a dedicated Duda connector?

Duda runs through the HTTP Connector rather than a dedicated connector. If your team wants one, the Tray.ai connector SDK can build a dedicated Duda connector from the Duda API.

## Learn more

- Intelligent Integration: https://tray.ai/platform/intelligent-ipaas/
- Merlin Agent Builder: https://tray.ai/platform/merlin-agent-builder/
- Agent Gateway for MCP: https://tray.ai/platform/agent-gateway/
- Book a demo: https://tray.ai/contact/
