Skip to main content
Integrations · Pinterest
A Guild agent can create campaigns, pull targeting analytics, manage boards and audiences, and handle billing on Pinterest without anyone sharing credentials. Guild stores the API key server-side and injects it through its credential proxy, so the agent code never sees the secret. Credential policies and audit trails govern every call the agent makes.

Book a demo

See how teams govern agents that use Pinterest.

Talk to sales

Get access to Guild, then connect Pinterest to your first agent.

What the Pinterest integration exposes

The integration package guildai~pinterest provides tools that cover ad accounts, campaigns, ad groups, and ads, including creation, updates, analytics, and targeting. Tools also cover boards, pins, board sections, audiences, audience insights, and lead ads webhook subscriptions. Billing profiles, invoices, invoice downloads, ads credits, and advanced auction bid options for retail catalog items are accessible as well. A/B tests, bulk operations, asset groups, and agency-owned ad account requests round out the available surface.

How it works

1

Open credentials in Guild

Go to Access & setup > Credentials in your Guild account. Click Connect, search for pinterest, and paste your API key into the API Key field.
2

Import tools in your agent

Import PinterestTools from the guildai~pinterest package and spread it into your agent’s tools object. Guild sends the key as a bearer token in the Authorization header on every call.
3

Narrow tools with pick

All tools carry the pinterest_ prefix. Use pick() from the SDK to include only the tools your agent needs, as described in the tool sets docs.

Why Pinterest ad access needs governing

Pinterest credentials can create and delete ad accounts, redeem ad credits, download billing invoices, and manage lead ads webhook subscriptions. Without controls, any agent that holds the key can take those actions. Guild stores the credential server-side and never exposes it to agent code; the credential proxy injects authentication only after checking the credential’s policies. With credential policies you write ALLOW and DENY rules that restrict which pinterest_* operations any agent or workspace may call, down to individual tools such as pinterest_ads_credit_redeem or pinterest_billing_invoice_download_get. Scoping a credential to one workspace, one member, or one agent limits blast radius further. Every proxied request is audited, so you can see exactly which agent called which Pinterest operation and when.

About the Pinterest integration

Agents can create and manage Pinterest ad accounts, campaigns, ad groups, and ads, including targeting and analytics. They can also manage boards, pins, audiences, and lead ads webhook subscriptions. Billing, invoices, and advanced auction bid options are also accessible. The integration is guildai~pinterest.

Authentication

  • Type: API key
  • Header: Guild sends the key as a bearer token in the Authorization header

Setup

1

Connect Pinterest

In Guild, go to Access & setup > Credentials, click Connect, select pinterest, and paste the key into API Key.
See Credentials for workspace, member, and agent-scoped credentials.

Usage

Selecting specific tools

Tools are named with the pinterest_ prefix. Use pick() to include only what your agent needs.

Tools

Tools in the latest published version of guildai~pinterest:

Frequently asked questions

Yes. Write a credential policy that ALLOWs only operations such as pinterest_ad_account_analytics, pinterest_ads_analytics, and pinterest_campaigns_analytics, and add a DENY rule covering pinterest_ads_create, pinterest_ads_update, and similar mutating tools. The credential proxy blocks anything not explicitly allowed.
No. The catalog entry for guildai~pinterest lists no webhook events, so the integration cannot fire Guild event triggers from Pinterest events. Agents can manage lead ads webhook subscriptions on Pinterest itself using tools like pinterest_ad_accounts_subscriptions_post, but that is distinct from Guild’s own event-trigger system.
Yes. Connect a credential scoped to a single workspace from that workspace’s Credentials page. Guild will use that workspace credential ahead of any account-level credential, as described in the credentials resolution order.
Connect a dedicated credential on the installed agent’s detail page. A dedicated credential serves only that agent. Alternatively, use a credential policy with an agents scope to restrict specific operations to specific agent IDs, leaving other agents unaffected.

Put a governed agent on Pinterest this week

Book a demo

See how teams govern agents that use Pinterest.

Talk to sales

Get access to Guild, then connect Pinterest to your first agent.
Also runs on Guild: Affinity · Attio · Brex · Deel Read: Docs: Credential policies · Credentials · Tools in agents
Last modified on November 25, 2026