Using OAuth 2.0 to Connect to Planning and Budgeting
You can use OAuth 2.0 to connect to your Planning and Budgeting application from NetSuite. To authenticate through OAuth 2.0, you need to store credentials obtained from your Oracle Cloud Infrastructure (OCI) instance in NetSuite.
To set up OAuth 2.0 to connect to Planning and Budgeting:
-
In Oracle Cloud Infrastructure (OCI), go to Identity & Security, and then click Domains.
-
In the list of domains, click the name of the required domain.
Tip:You can get the domain name from the Planning and Budgeting login screen.
-
Go to the Integrated applications subtab, and then click Add application.
-
Select the Mobile Application type, and then click Launch workflow.
-
Enter a name for the application, and then click Submit.
-
Go to the OAuth configuration subtab, and then click Edit OAuth configuration.
Do the following:
-
Check the Refresh token box.
-
Check the Device code box.
-
Clear the Implicit box.
-
In the Client IP address section, choose Anywhere.
-
Click Submit.
-
Copy the Client ID value.
-
-
Go back to Domains, and click the name of the required domain. Then, do the following:
-
On the Details subtab, copy the Domain URL value.
-
Go to the Integrated applications subtab.
-
On the created application record, click the three dots and select Activate.
-
When prompted, click Activate application.
-
-
In NetSuite, go to NetSuite EPM > Planning and Budgeting > Connection Settings.
-
For the OAuth 2.0 type, click Configure.
-
In step Enter Parameters, provide the credentials you copied in the previous steps:
-
In the IDCS URL field, enter the domain URL value.
-
In the Client ID field, enter the client ID value.
-
-
Click Next.
-
In step Provide Consent, copy the code and click the verification URL. If prompted, log in to your Cloud EPM account.
To return to the previous step, click < Back or Cancel.
-
In your Cloud EPM account, paste the code to confirm that you provide access for this logged-in user to connect from NetSuite to your Planning and Budgeting application. The user must have at least a Power User role with access to the target Planning and Budgeting application.
-
Go back to the Configure OAuth 2.0 page in NetSuite, and click Finish.
For general information about AOuth 2.0, see the NetSuite Help Center topic OAuth 2.0.