LinkedIn

I’m trying for the first time to use LinkedIn with Yii2. I’m a little unsure how the config works when using the REST API. Are there any good Yii2 examples around, from the REST API i just typed my client_id into a HTML link. I feel that I’m therefore bypassing the Yii2 configs in my end and not using it properly?