> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://helpdesk.whydonate.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to set up the WordPress Donation Form plugin?


### 1. Install the WordPress plugin

![](https://storage.crisp.chat/users/helpdesk/website/-/2/5/4/0/254092d985444400/wp-donation-pluginpng_mrykex.png)


* Find the “WP-Whydonate” plugin in the “New plugin” menu and click “Install now”.
* Activate the plugin via the ‘Plugins’ menu in WordPress. 
* The plugin will be visible in the left menu on WordPress.



### 2. Connect to your WhyDonate account

![](https://storage.crisp.chat/users/helpdesk/website/254092d985444400/image_10a5h48.png)

* To get started, click on WhyDonate on the left menu. 
* Now, click on my account to setup your WhyDonate account.

**For WhyDonate members:** Open your [WhyDonate Profile](https://whydonate.com/en/profile/account) and click the API Key menu. Generate a new API Key and copy-paste it to the bottom of this page.
After setting up your account, your fundraisers from the WhyDonate platform will be accessible on this plugin.

**No WhyDonate account yet:** Register for free at [WhyDonate](https://whydonate.com/en/account/register). Open your [WhyDonate Profile](https://whydonate.com/en/profile/account) and click the API Key menu. Generate a new API Key and copy-paste it to the bottom of this page.


### 3. Create a widget


![](https://storage.crisp.chat/users/helpdesk/website/-/2/5/4/0/254092d985444400/dashboard-whydonate_9z1t9y.png)

* Log in and Click on WhyDonate on the left menu - Donation Forms
* Create Widget - Select your fundraiser
* Save Code

Each widget has a style and a fundraiser associated with it. With the WhyDonate donation button plugin, you can create multiple widgets for different fundraisers or with different styles.

### 4. Add the Widget to your WordPress website 

To add a donation button to your website, place the HTML Code on the desired page or post. The HTML Code of each widget can be found in the menu WhyDonate > Widgets. 

|| Note: Users can also create widgets without having a fundraiser at WhyDonate. 

| Tip: We encourage to create campaigns as fundraisers created via the website receive greater visibility, hence increasing your chances of receiving donations.