# Stripe Configuration

## API Keys

An API key or application programming interface key is a code that gets passed on by computer applications. The program or application then calls the API or application programming interface to identify its user, developer or calling program to a website.

An API key can act as a secret authentication token as well as a unique identifier.

They are used to guarantee a security channel between Slyk and Stripe.&#x20;

### Finding keys in Stripe

Please refer to stripe [Learn more about API authentication](https://stripe.com/docs/keys).

### Where to paste your Stripe API keys in Slyk

* &#x20;Login to your owner dashboard (*yourslyk.slyk.io*)
* &#x20;In the left menu click "Settings"&#x20;
* &#x20;Search for "Payments & integrations" (it may be different than the below screenshot)

![](/files/-ME23FM4vy0TLPZAAIS4)

* &#x20;Search for "Stripe" and click "Connect"

![](/files/-MJ7fyuxtNbCmF4SNDL8)

* &#x20;Stripe detail window will expand and you can see two forms where you should paste Stripe keys

![Stripe details](/files/-MJ7g7g8EcKnSUXc69md)

* Now login to your stripe account.
* Make sure you're in Live environment (Test mode must be OFF in top right corner) and click "Developers".

<figure><img src="/files/4DNdua7tbvoMEHRHB9OI" alt=""><figcaption></figcaption></figure>

* The left context menu will change, choose "API keys"

<figure><img src="/files/u845o6gzmu14GS4jTqni" alt=""><figcaption></figcaption></figure>

* Stripe automatically created a key when you created the account, you only need to copy them into Slyk.

![Location of keys in Stripe](/files/-MJRat0KvbfWT6KiAGKw)

* Copy each key into the correct form with the corresponding name in Slyk.

![](/files/-MJRboXSGu7UroJu9jDy)

* Click "Connect & Save"

![Click "connect and save"  to test and finish your integration.](/files/-MJ7hUdYwEPXY95E4nmm)

* You should see a success message.

{% hint style="info" %}
*Note*: Slyk automatically created the necessary webhooks in your Stripe account. &#x20;
{% endhint %}

You can now accept credit cards in your Slyk.

*Troubleshooting:*

* [Verifying endpoints.](/slyk/setup-guides/stripe-configuration/verifying-endpoints.md)
* [Configure endpoints manually.](broken://pages/-ME21PB-5WyZaPrXvZvX)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.slyk.io/slyk/setup-guides/stripe-configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
