> For the complete documentation index, see [llms.txt](https://docs.optty.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.optty.com/platforms/bigcommerce/add-optty-widgets/create-widget-token.md).

# Create Widget Token

You’ll then be taken to a page to add your **Widget Token**. To obtain your widget token, you need to go back to the **Universal Payments Platform** and login.

Then click on your name on the top right and select **View Account**.

On the right hand side of the screen, you should see the Widget Token section with a **\[Generate Token]** button, which you need to click. Once the token is generated, you should see it in the field. Click the copy button next to the token to copy it to your clipboard.

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

Return to your BigCommerce admin screen and enter the Widget Token into the corresponding field.

Then enter one of the following URL’s into the **Widget SDK Url** field.

<table data-header-hidden><thead><tr><th width="187"></th><th></th></tr></thead><tbody><tr><td><strong>Sandbox</strong></td><td><a href="https://widgets.qa.optty.com/widget-loader.js">https://widgets.qa.optty.com/widget-loader.js</a></td></tr><tr><td>Production</td><td><a href="https://widgets.optty.com/widget-loader.js">https://widgets.optty.com/widget-loader.js</a></td></tr></tbody></table>

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

Finally, click **\[Submit]** and you should see a success notification pop up.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://docs.optty.com/platforms/bigcommerce/add-optty-widgets/create-widget-token.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.
