Why am I missing the 'Import template to localhost' option when viewing templates

I am currently running a self-hosted n8n instance using Docker on my local machine (http://localhost:5678).

When I visit the n8n templates website and click on a template, I only see the following options (as shown in image 1):

However, in several video tutorials, other users see an additional, convenient option (as shown in image 2):
What am I missing in my local setup that prevents the template website from detecting my running n8n instance and showing this direct import option?

I suspect it might be related to a specific environment variable, perhaps N8N_PUBLIC_API_URL, but I am not certain which one is required for this detection feature. Any guidance on the correct configuration would be greatly appreciated!

Hi @neuvillette

Actually, this behavior is configured by you,
you just might not realize how..

Here’s how it works:
When you click on Template in your instance:


A URL opens with the following parameters:

https://n8n.io/workflows/?utm_source=n8n_app&utm_medium=template_library&utm_instance=https://n8n.anan.dev/&utm_n8n_version=1.120.3&utm_awc=13

Notice this parameter:

utm_instance=

This value is stored in local storage with the key N8N_TEMPLATE_DESTINATIONS:

So, if you simply remove this key from local storage, n8n will forget the saved instance and you will see the UI like in your second screenshot. :wink: