Discovery app option disappeared in preview

Hi!

I’m reading the Preview guide (https://www.contentful.com/developers/docs/tutorials/general/content-preview/), and I stumbled on the first section: " Preview content in the Discovery app".
The screenshot shows a select option to choose the discovery app, but in my case, I can’t find it :frowning:

Could you please help me on this issue?

Thanks a lot!

Hi there!

You can set up a preview environment using the Discovery App in a similar way as creating one for an online or local environment. In the case of using the Discovery App, the hard work is done for you, and all you need to do is provide the preview URLs for your content types.

So, you may follow the instructions for setting up an online preview environment, and then use the Discovery App URLs for your preview URLs.

For example, if you are setting up a preview environment for a Blog Article content type, with machine name blogArticle, your preview URL would look like the following:

https://discovery.contentful.com/entries/by-content-type/blogArticle/{entry.sys.id}?delivery_access_token=[YOUR_CDA_TOKEN]&preview=false&preview_access_token=[YOUR_CPA_TOKEN]&space_id=[YOUR_SPACE_ID]

You can check the URL structure for your content types by using the Discovery App directly, and then copying the URL from your browser. Just remember to swap the entry ID with the {entry.sys.id} token.

Hope that helps!