How to use the Apple Service connection

How to use the Apple Service connection at Team section? I added an API key authentication with id, issuer id and upload *.p8 file, but it doesn’t show any connection, only “Connection not set”. How to configure it?
image