How implement a configuration page to ask the user to configure an integration upon adding it

I’m implementing an integration to automatically create an activity in my time tracking application upon I create an item in My time tracking application has APIs and protected with and API key. When I look into Harvest and toggle integrations, they provide an initial configuration page to enter the API token at the time user enables the integration. Is it possible to implement that kind of an initial configuration page so the end user can add the API keys by himself rather than hard coding it. I’m referring a configuration page like follows.