---
schema_version: "1"
id: ef7f3406703c0f5a1119f6989bc2660c48a5881750f32b58044d0f18e559c7cc
title: Authenticate with a Connected App
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/service-cloud/salesforce-scheduler-dev-guide/guides/salesforce-scheduler/uc2-scheduler-api-auth.md
canonical_url: https://developer.salesforce.com/docs/service/salesforce-scheduler-dev-guide/guide/uc2-scheduler-api-auth.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: f877d13e56e56bb66c1a501b82367cdc8dfcfab4b53ed4ce587c81c68368e9d9
products:
  - Salesforce Scheduler Developer Guide
  - Service Cloud Developer Content
---



# Authenticate with a Connected App

The first step in an API-based integration is to connect to Salesforce and get an access token using OAuth. OAuth access token authentication is the most secure way to authenticate SOAP and REST API calls.

**note:** To build a custom appointment scheduling application using Salesforce Scheduler APIs for prospects or unauthenticated users, you must build it using a logged-in user. For example, an integration user or an administrator.

If you are working in a Salesforce organization that has a Developer Edition, an Enterprise Edition, or above, verify that you have the API Enabled permission. This permission is enabled by default. This permission allows you to access any Salesforce API.

When you have this permission, you can connect to Salesforce and authenticate. Then make a request to REST or Connect API and check the response. For more information, see [Connect REST API Quick Start](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/quickstart.htm).


