# Where can I find API key?

**URL:** https://meta.discourse.org/t/where-can-i-find-api-key/58816
**Category:** WordPress
**Created:** [March 10, 2017, 10:35am UTC](https://meta.discourse.org/t/where-can-i-find-api-key/58816 "2017-03-10T10:35:14Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Rajesh\_Choudhary](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rajesh_choudhary/32/68990_2.png) [@Rajesh\_Choudhary](https://meta.discourse.org/u/Rajesh_Choudhary)
#### Post date: [March 10, 2017, 10:35am UTC](https://meta.discourse.org/t/where-can-i-find-api-key/58816/1 "2017-03-10T10:35:14Z")

</div>

Hi I am new to Discourse. I want to add this kind of forum in my wordpress site. I have installed the Discourse plugin. Plz help me to get api key. I did not find exactly the url from where i can get api.

---

<div class="post-metadata">

### Author: ![JagWaugh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagwaugh/32/69335_2.png) [@JagWaugh](https://meta.discourse.org/u/JagWaugh)
#### Post date: [March 10, 2017, 10:38am UTC](https://meta.discourse.org/t/where-can-i-find-api-key/58816/2 "2017-03-10T10:38:37Z")

</div>

Go to /admin/api/keys on your Discourse site, if you haven’t generated one yet then you will need to. Then you can copy the key and paste it into the WP plugin.

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [March 10, 2017, 10:38am UTC](https://meta.discourse.org/t/where-can-i-find-api-key/58816/3 "2017-03-10T10:38:49Z")

</div>

Can you read through this and see if you still have any questions?  
[Install and configure the WP Discourse Wordpress plugin for Discourse](https://meta.discourse.org/t/wp-discourse-plugin-installation-and-setup/50752)

---

<div class="post-metadata">

### Author: ![Rajesh\_Choudhary](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rajesh_choudhary/32/68990_2.png) [@Rajesh\_Choudhary](https://meta.discourse.org/u/Rajesh_Choudhary)
#### Post date: [March 10, 2017, 10:51am UTC](https://meta.discourse.org/t/where-can-i-find-api-key/58816/4 "2017-03-10T10:51:15Z")

</div>

there is one url option to give for discourse…for example my website is [wp.com](http://wp.com) then i have given this url to [wp.com/discourse](http://wp.com/discourse) after then i need to go [wp.com/discourse/admin/api](http://wp.com/discourse/admin/api) ..it is ryt?

---

<div class="post-metadata">

### Author: ![JagWaugh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagwaugh/32/69335_2.png) [@JagWaugh](https://meta.discourse.org/u/JagWaugh)
#### Post date: [March 10, 2017, 11:00am UTC](https://meta.discourse.org/t/where-can-i-find-api-key/58816/5 "2017-03-10T11:00:05Z")

</div>

You are populating the SSO settings in WP right?. These are at _WP-sitename_/wp-admin/admin.php?page=wp\_discourse\_options

The API key needs to be generated at _Discourse-sitename_/admin/api/keys then you can copy the value of the key from the Discourse site to the setting on the WP site.

The SSO secret is similar, see @simon’s excellent [instructions](https://meta.discourse.org/t/wp-discourse-plugin-installation-and-setup/50752).

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [March 10, 2017, 11:31am UTC](https://meta.discourse.org/t/where-can-i-find-api-key/58816/6 "2017-03-10T11:31:42Z")

</div>

It sounds as if you’re trying to install the wordpress discourse plugin in order to [quote=“Rajesh\_Choudhary, post:1, topic:58816”]  
add this kind of forum in my wordpress site  
[/quote]

That’s not what the plugin does. Discourse is a separate application which (in most scenarios) runs on a separate server (see the [install guide](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md)). The wordpress plugin allows a wordpress website and a Discourse forum to be interlinked, but you need to setup discourse first.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [March 10, 2017, 2:29pm UTC](https://meta.discourse.org/t/where-can-i-find-api-key/58816/7 "2017-03-10T14:29:01Z")

</div>

That sounds like the problem, @david. @Rajesh_Choudhary, you need to [install Discourse](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md) first.
