---
title: "Create a public OAuth app"
description: "Learn how to create a public OAuth app in Klaviyo."
url: "https://developers.klaviyo.com/en/docs/create_a_public_oauth_app"
category: "Partner resources"
lastUpdated: "2025-07-29"
related: ["https://developers.klaviyo.com/en/docs/llms.txt"]
---

# Create a public OAuth app

> This is the Markdown version of https://developers.klaviyo.com/en/docs/create_a_public_oauth_app

Learn how to create a public OAuth app in Klaviyo.

## You will learn

After completing this guide, you will be able to create an app in Klaviyo. You’ll also explore example implementations to help you get started creating your app.

Public apps that can be installed from Klaviyo’s App Marketplace require authentication via [OAuth](https://developers.klaviyo.com/en/docs/set_up_oauth.md). When a user installs your app on their Klaviyo account, your app receives permission to make API calls to their account using an OAuth access token.

> [!WARNING]
> Note that only owner, admin, and manager roles can create OAuth apps in Klaviyo. Learn more about [user management and privileges](https://help.klaviyo.com/hc/en-us/articles/115005231648).

## Create an app

1. Navigate to the <a href="https://www.klaviyo.com/manage-apps" target="_blank">_Manage apps_ page</a>.
2. Select **Create app** to create your new application.
   ![OAuth landing page in Klaviyo with Create app with black background in upper right](https://files.readme.io/a5cc463-create_oauth_app.png)
3. Name your application. Then, securely save your client secret and client ID. You won’t be able to view your client secret again, although you can generate a new one later. When you're done, click **Create**.
   ![Set up OAuth page in Klaviyo with title, client ID and client secret](https://files.readme.io/c983fd8-name_app_oauth.png)
4. After creating your app, you should get a confirmation page with help guides for submitting your app to be listed on Klaviyo's App Marketplace. Click **Continue** to continue setting up your OAuth app.
5. Pinpoint which scopes your app uses and set them using a space-separated list. To find out which scopes your app uses, visit the API reference documentation as shown below. Include all scopes that you will need for your OAuth authorization requests. You can [consult the full list of available scopes](https://developers.klaviyo.com/en/docs/authenticate_.md), if needed.

   

<img src="https://files.readme.io/d9cd94b-v2_scopes_refdoc_submit_app.png" alt="" loading="lazy" />

> [!CAUTION]
> In order for your app to meet our [app listing requirements](https://developers.klaviyo.com/en/docs/klaviyo_app_listing_requirements.md), you must use the least permissive scope set possible. Do not request more scopes than necessary.

Your list of scopes should be formatted like the following example:
![Demo app draft page in Klaviyo showing OAuth settings including scopes](https://files.readme.io/d583455-set_scopes_oauth.png)

> [!CAUTION]
> Note that `accounts:read` is required by default and must remain in your scopes list.

6. Edit your Redirect URLs (known as Redirect URIs in OAuth). These are the URLs that you have allowlisted Klaviyo to redirect users to after authorizing your app. For more than one redirect URL, separate each with a space, tab, or enter.
   ![Demo app page showing OAuth settings including Redirect URLs](https://files.readme.io/7df6bed-set_redirect_urls_oauth.png)

When you have finished setting your scopes and redirect URLs, click **Save** in the top right to save your changes.

## OAuth example apps

If this is your first time using OAuth with Klaviyo's APIs, we recommend checking out our OAuth example apps on GitHub. We designed these apps to help you get started setting up OAuth and making calls with our server-side APIs:

- [Example OAuth App - Pet Party Planner](https://github.com/klaviyo-labs/Pet-Party-Planner?utm_source=dev_portal&utm_medium=cross-promo&utm_campaign=create_app_guide)
A Next.js app that uses Klaviyo and a separate database to plan events and store attendee information.
- [Klaviyo’s Node Example Integration](https://github.com/klaviyo-labs/node-integration-example?utm_source=dev_portal&utm_medium=cross-promo&utm_campaign=create_app_guide)
An Express app that shows the basics of making an OAuth integration with Klaviyo.

> [!WARNING]
> Note that the example apps provided above are not designed to be used as scaffolding for your app. You may reference them as educational resources for better understanding the OAuth flow.

In addition to our OAuth app examples, check out our [Javascript and Python code examples](https://github.com/klaviyo-labs/api-examples/tree/main/oauth?utm_source=dev_portal&utm_medium=cross-promo&utm_campaign=create_app_guide) (referenced in the _Make API calls using OAuth_ guide linked below).

## Next steps

OAuth is required for your app to be considered for Klaviyo’s App Marketplace. Follow our guide on [making API calls using OAuth](https://developers.klaviyo.com/en/docs/set_up_oauth.md).

## Additional resources

- [Make API calls using OAuth](https://developers.klaviyo.com/en/docs/set_up_oauth.md)
- [Handle your app's OAuth flow](https://developers.klaviyo.com/en/docs/handle_your_apps_oauth_flow.md)
- [Troubleshoot OAuth errors](https://developers.klaviyo.com/en/docs/troubleshoot_oauth_errors.md)
