# Run Init Sync on the Tenant

The init sync prints a standard out that lists options for both of the dynamic configurations. Let's run an init sync for the tenant and take a look at those options in the Connection Settings page!

Before you can try out your new init sync flow, you will need to put your tenant on a release based on your new code.  To do that follow all the steps in  [Check the Customized Connection Settings Page](https://docs.pandium.com/getting-started/pandium-integration-tutorial/pokemon-of-the-day-part-1/write-the-integration-in-typescript/check-the-customized-connection-settings-page).&#x20;

Once your tenant is on that new release, you might take a look at its *Connections Settings* page. It still says *Placeholder* for the two dynamic configs.  This is because we haven't yet run the new init sync for this tenant.

1. Navigate to your integration's tenant by clicking **Integrations** from the side bar > the **Unpublished** tab > the card for your *Pokémon of the Day* integration > the **Tenants** tab > the row for your tenant.

<figure><img src="https://4017407078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfJn-9R_dn6dvcGNcdk%2Fuploads%2F2sthE9HEqt6Qr7q0J42Q%2Fimage.png?alt=media&#x26;token=c98efaa5-083c-49c0-9c8a-fa223a7b5838" alt=""><figcaption></figcaption></figure>

2. Click the arrow on **Sync Now** > **Init Sync.**  This will kick off an init sync for your tenant, which will appear in the *Runs* list at the bottom of the page.

<figure><img src="https://4017407078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfJn-9R_dn6dvcGNcdk%2Fuploads%2FaCNCxuLmdjBC2GMfogwG%2Fimage.png?alt=media&#x26;token=48257bb0-5044-4360-85cd-0d161dc217a0" alt=""><figcaption></figcaption></figure>

If you're curious you can click the icon in the run's *Status* column.  This will display the *Run Detail* page for the run.  The log there should look just like the logs for the init syncs you ran locally during development (with the exception that the context logged out has far more information now).

You can navigate back to the *Tenant Detail* page by clicking the tenant's name at the top of the *Run Detail* page.

3. Once the init sync run has completed click **Settings**.  This will display the *Connection Settings* page for the tenant.&#x20;

<figure><img src="https://4017407078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfJn-9R_dn6dvcGNcdk%2Fuploads%2FB7tysMZZO0RJgXunbN9K%2Fimage.png?alt=media&#x26;token=514f3e3a-6c2c-4b29-b2f8-1b3d62b39eec" alt=""><figcaption></figcaption></figure>

*Placeholder* is no longer an option for either the Pokémon Type config or the Slack User config. &#x20;

4. Choose one of the Pokémon types fetched from the PokéAPI.
5. Choose yourself as the person who will receive the Pokémon message of the day.\
   Selecting yourself is just for development purposes.  \
   When the Academy's UX admin sets up a tenant for each Pokémon trainer they will select the appropriate trainer and their requested Pokémon type.&#x20;
6. Click **Save Changes.**  This will close the *Connections Settings* page to display the *Tenant Detail* pag&#x65;*.*

<figure><img src="https://4017407078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfJn-9R_dn6dvcGNcdk%2Fuploads%2FzVHeRIKUJ0gWPowPY0HS%2Fimage.png?alt=media&#x26;token=32ef34dd-b5a9-452f-9186-168c57d2be84" alt=""><figcaption></figcaption></figure>

7. Click the arrow on **Sync Now** > **Normal Sync.**  This will kick off a normal sync for your tenant, which will appear in the *Runs* list at the bottom of the page.  Before the run is complete you should get a Slack message about the Pokémon of the Day.

You may have noticed that the Pokémon in that message was just the one with the next ID, and not necessarily of the type you just selected.  This is because  `pokemonSync` isn't accessing these new configurations. &#x20;

<figure><img src="https://4017407078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfJn-9R_dn6dvcGNcdk%2Fuploads%2FHctLXeAgSTrTU9z3OTu7%2Fimage.png?alt=media&#x26;token=d1f20ba3-7547-4403-9ac5-1ef1606b1f92" alt=""><figcaption></figcaption></figure>

8. Click the icon in the run's *Status* column.  This will display the *Run Detail* page for the run. &#x20;

At the top of the logs you should see the config object now has the new configs!

```
------------------------CONFIG------------------------
Config {
  pokemon_type: 'rock',
  slack_user: '<YOUR-SLACK-MEMBER-ID>',
}
```

Let's update `pokemonSync` so it makes use of those new configs!
