In this knowledgebase,
We have provided you the steps to get the client_id and secret while paypPayPalegration,
Step 1- Create a developer account from here.
Step 2- After creating the account, Go to the Dashboard.
Step 3- Then in the left menu, click on the My Apps & Credentials.
Step 4- Go to REST API apps section and click the create app button.
Step 5- Fill the App Name and choose the developer merchant account.
Step 6- Then create the app.
Step 7- After creating the app you have received the CLIENT_ID and SECRET.
Thanks maybe this knowledgebase is needful for you.