---
title: "Create an API key"
slug: "create-an-api-key-1"
updated: 2025-07-17T01:53:01Z
published: 2025-07-17T01:53:01Z
canonical: "docs.xendit.co/create-an-api-key-1"
---

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

# Create an API key

Before you start, you need to have a Xendit account. You can create one by [signing up here](https://dashboard.xendit.co/register/1). Once that’s done, you’ll be able to start testing immediately by using your account in Test Mode.

## How to create your API key

1. Generate a Secret API Key for development [on your settings page](https://dashboard.xendit.co/settings/developers#api-keys) or by visiting **Settings** > **Developers** > **API Keys** on your dashboard.
2. Make sure to set **Write** permissions for your API Key for money-out features.
3. Ensure that the **API key is not given any permissions beyond the purpose it was meant for**. Doing so might lead to security incidents. See our [API key guide](/v1/docs/api-keys) here for more information.
4. Store your API key securely using a secrets management solution.
