How to connect a Plug wallet to Candid interface?

I responded in that thread: Using the Candid UI when an identity is required - #6 by kpeacock