# Plugin Setup

You need to connect the plugin to your subscription before you can use it.

## Client ID

Your DinOdds Client ID is the license key you get when purchasing a subscription. You can get it from your [AffKraft account](https://affkraft.com/account).

## First-run setup

After activating DinOdds, you'll find a new menu item in your WordPress dashboard left-hand navigation: **DinOdds**. Visit it, or use the **Settings** link in your plugins list. Until a Client ID is saved, the page shows a three-step setup:

1. **Connect.** Enter your Client ID and click **Connect**. The plugin loads your leagues, sportsbooks and the first odds, and schedules the hourly [feed update](https://docs.affkraft.com/dinodds/feed-updates).
2. **Sportsbooks.** Add your affiliate link for each sportsbook. You can skip this and do it later on the [Sportsbooks tab](https://docs.affkraft.com/dinodds/affiliate-settings).
3. **Add your first table.** Copy the ready-made `[odds league="..."]` shortcode, or click **Create a draft and open it** to get a new draft post that already contains the [Odds Table block](https://docs.affkraft.com/dinodds/blocks).

After that, the page opens on the [Overview tab](https://docs.affkraft.com/dinodds/plugin-settings).

## Change or remove the Client ID

The sidebar of the settings page shows your Client ID, partly hidden. Click **Change** to enter a new one, or **Remove** to disconnect the plugin; removing it also stops the scheduled feed updates.

## If connecting fails

If you get an error that the license key is not correct, or the connection fails:

* make sure there are no white spaces in the beginning or at the end of the key
* if you have a firewall installed on your server, make sure outgoing requests to the feed server are not being blocked (see [Troubleshooting](https://docs.affkraft.com/dinodds/troubleshooting))
* make sure your subscription is active and your site is allowed in your account settings (see [DinoFeeds API](https://docs.affkraft.com/dinodds/api))
