# Help! I accidentally cleared my Swiftype Search WordPress configuration. Is there a way to restore it?

**URL:** <https://community.swiftype.com/t/help-i-accidentally-cleared-my-swiftype-search-wordpress-configuration-is-there-a-way-to-restore-it/144>\
**Category:** WordPress\
**Created:** [April 8, 2016, 9:10pm UTC](https://community.swiftype.com/t/help-i-accidentally-cleared-my-swiftype-search-wordpress-configuration-is-there-a-way-to-restore-it/144 "2016-04-08T21:10:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/swiftype/original/1X/fd652d1735c60057fa71c371375511028f9a1832.png) [@system](https://community.swiftype.com/u/system)\
**Post date:** [April 8, 2016, 9:10pm UTC](https://community.swiftype.com/t/help-i-accidentally-cleared-my-swiftype-search-wordpress-configuration-is-there-a-way-to-restore-it/144/1 "2016-04-08T21:10:53Z")

</div>

Yes, this is possible. However, it requires editing your WordPress database, which can be potentially dangerous.

**WARNING:** Directly editing your WordPress database can severely break it. We recommend against doing this in general. If you do need to edit your WordPress database, be sure to make a backup first.

To re-connect the Swiftype Search WordPress plugin to an existing engine, you will need the following pieces of data:

- Your API Key. You can find this on the Account Settings page.
- Your Engine Key. You can find this on the Engine Overview page.
- Your Engine Slug. You can find this on the home page of the Swiftype Dashboard.

Once you’ve collected these, insert the following keys and values into the **`wp_options`** table of your WordPress database:

```
swiftype_api_key [Your API Key]
swiftype_api_authorized 1	
swiftype_engine_name [Your Engine Name]	
swiftype_engine_slug [Your Engine Slug]	
swiftype_engine_key [Your Engine Key]	
swiftype_engine_initialized 1
```

To insert these values, you can use the MySQL command line client, or a web-based interface such as phpMyAdmin.

Note that **`swiftype_num_indexed_documents`** is used in the WordPress user interface but does not actually affect how the plugin works.
