> For the complete documentation index, see [llms.txt](https://doc.wearepatchworks.com/product-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.wearepatchworks.com/product-documentation/connectors-and-instances/patchworks-connectors/ebay-prebuilt-connector/generating-a-refresh-token-for-ebay.md).

# Generating a refresh token for eBay

## Introduction

When adding an instance for the [eBay connector](/product-documentation/connectors-and-instances/patchworks-connectors/ebay-prebuilt-connector.md), you are required to provide a `refresh token`. The instructions below guide you through the steps required to generate this token manually. In doing so, you remove the need to allow Patchworks direct access to your eBay account.

## The steps

{% stepper %}
{% step %}
**Gather required information**

To obtain your `client id` and `client secret`, you need to create and configure an application in the eBay Developer Portal. For more information, please refer to Ebay's guide: [Getting your OAuth credentials](https://developer.ebay.com/api-docs/static/oauth-credentials.html)
{% endstep %}

{% step %}

###

{% endstep %}
{% endstepper %}
