Amazon Bedrock AgentCore is in preview release and is subject to change.
Salesforce
You can set up Salesforce as an outbound provider using Salesforce OAuth 2.0.
Configuring a Salesforce OAuth2 application
To configure a Salesforce OAuth2 application
-
In the developer portal for Salesforce, create a connected app and provide the name and other requested information specific to your application.
-
Enable and configure the OAuth settings for the application, providing the following as the callback URL:
-
https://bedrock-agentcore.{region}.amazonaws.com/identities/oauth2/callback
-
-
Choose the necessary scopes and permissions your application will need.
-
Choose Require Proof Key for Code Exchange (PKCE) Extension for Supported Authorization Flows.
-
Choose Require Secret for the Web Server Flow.
-
Choose Enable Authorization Code and Credentials Flow.
-
If you wish to use Salesforce as a ClientCredentials/M2M provider then choose Enable Client Credentials Flow and follow the prompts.
-
Save your application and copy the client ID and client secret that is issued for the application. You will need these to configure Salesforce in AgentCore Identity.
For more details, refer to Salesforce's documentation Define an OpenID Connect Provider.
Outbound
To configure the outbound Salesforce resource provider, use the following:
{ "name": "NAME", "credentialProviderVendor": "SalesforceOauth2", "oauth2ProviderConfigInput": { "SalesforceOauth2ProviderConfigInput": { "clientId": "your-client-id", "clientSecret": "your-client-secret", } }, }