Hoopa Unbound

Is there a way to get hoopa-U in the game, and if so where can I go for that?

Show Hoopa to old man next to small Augur statue in Amphitrite City. He will give you Prison bottle. After that use it on Hoopa.

Thanks, I thought I remembered someone mentioning the bottle but had no idea where to look