how to create a connected app in salesforce

How to Create a Connected App in Salesforce

By Jessica Rodriguez
AD

Creating a connected app in Salesforce empowers your users to securely access Salesforce data from external apps and communities. Whether you're building an integration,.Omni-Channel experience, or custom user interface, a connected app is your first step. Here's a comprehensive guide on how to create, configure, and manage a connected app in Salesforce.

Before we dive in, ensure you're an admin user with sufficient privileges and have a connected app use case in mind. Let's kickstart your journey towards seamless data connectivity.

Creating a New Connected App

Start by logging in to your Salesforce org as an admin user. Navigate to the Setup menu (gear icon), search for 'Connected Apps', and select 'Connected Apps OAuth Usage'. Here, you'll manage and create your connected apps.

AD
Salesforce Tutorial
Salesforce Tutorial
18 Best Salesforce Apps & Integrations for Nonprofits
18 Best Salesforce Apps & Integrations for Nonprofits
Agentic UI in Salesforce | A Guide to Smarter CRM Experiences
Agentic UI in Salesforce | A Guide to Smarter CRM Experiences

Click 'New Connected App' to begin. Here's a roadmap of the creation process, filled with essential details and best practices:

App Information

Basic information includes 'Conapped Name' (unique identifier), 'Api Redirect Url' (where your app's callbacks will direct users upon login, usually your app's domain), and 'Application Logo' (for a more professional touch).

Salesforce Roadmap for Admin & Developer in 2026
Salesforce Roadmap for Admin & Developer in 2026
Transform Your Workflow with Salesforce Integration | Advent IT Solution
Transform Your Workflow with Salesforce Integration | Advent IT Solution
Salesforce Integration: Methods, Tools, Use Cases & Best Practices
Salesforce Integration: Methods, Tools, Use Cases & Best Practices

Pro Tip: Make your redirect URL a domain you own and trust. This ensures secure redirects and prevents potential phishing attacks.

Security

Here, select 'Web Server Flow' for external apps accessing Salesforce via API or 'User-Agent Flow' for custom user interfaces within Salesforce. Define required OAuth scopes, limiting data access to necessary permissions.

AD

Scroll down to Oauth Policies. Select 'No SOQL Requests', 'All Users May Self-Authorize', or 'Admin Approved Users Only', based on your use case and security requirements.

the salesforce profiles poster is shown
the salesforce profiles poster is shown
Salesforce launches Salesforce Anywhere, app that embeds collaboration, data across platforms - ZDNET
Salesforce launches Salesforce Anywhere, app that embeds collaboration, data across platforms - ZDNET
Slack just stopped being a messaging app. 💬➡️🤖 Salesforce dropped 30 new AI features for
Slack just stopped being a messaging app. 💬➡️🤖 Salesforce dropped 30 new AI features for
Integrately: How To Integrate Salesforce Marketing Cloud With WordPress Using Elementor Forms
Integrately: How To Integrate Salesforce Marketing Cloud With WordPress Using Elementor Forms
Salesforce-vejledning
Salesforce-vejledning
React Native App Development with Salesforce Mobile SDK
React Native App Development with Salesforce Mobile SDK

Configure and Manage the Connected App

Post-creation, ensure proper configuration and management of your connected app for a smooth user experience and robust security.

Here's a deep dive into crucial configuration aspects and management best practices:

AD

OAuth Policies and Approval Processes

Fine-tune OAuth policies to control who can self-authorize and the level of access granted. Implement admin approval processes for stringent access control.

Salesforce Internal App Building with Lovable
Salesforce Internal App Building with Lovable
the website for salesforce is displayed on a desktop computer and next to a potted plant
the website for salesforce is displayed on a desktop computer and next to a potted plant
How to Integrate All Business Apps With Salesforce?
How to Integrate All Business Apps With Salesforce?

To enable admin approval, select 'Admin Approved Only' in Oauth Policies. Configure an approval process using Setup menu >Security Controls > Declarative Approval Process Manager.

Connected App Settings and Advanced Settings

In connected app settings, enable 'Available for Customer Community Plus, Partners, and Guest Users' for broader access. Set 'Access Methods' and 'OAuth Scopes' based on your app's requirements.

AD

In 'Advanced Settings', configure org-wide defaults for users, profiles, and roles. Set user permissions and custom permissions for precise control over data access.

Connected App Users and Connected App Licenses

Manage users granted access to the connected app. Click 'Manage Connected App Users' to add users, set reminders, and logout users.

Connected App Licenses help control spend onэр user access. Adjust entitlements and get insights into app usage, licenses, and spending right from the connected app detail page.

Creating and managing connected apps in Salesforce unlocks a world of secure data integration and external app access. As you build, remember to keep security at the forefront, maintain user management best practices, and monitor app performance and usage. With this comprehensive guide, you're equipped to create and manage connected apps with finesse and confidence.

AD