How to implement generic login using okta

All,
so we want to integrate okta login in our web page. so once user click over okta it will redirect to login.okta.com page where user need to provide the instance name and once successful it will redirect to our web site with user detail.

Any help

Thanks in advance!!