function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Simon Eisner 8Simon Eisner 8 

Can't create a new connected App

Hi there,

I'm sure this is a newbie question (I am a newbie), but i've searched for hours now and cannot find the answer.  So here goes:  I'm simply trying to connect to the SF REST API from Postman (Eventually from our Web Application).  The documentation tells me to create a new connecte app under Apps>>Connected Apps.   I've tried to do this, but there is no button for a "New Connected App".  

Below is what I'm seeing.  I basically just want to test the API.  Currently when I make a request to https://cs51.salesforce.com/services/data/v37.0/sobjects/account outside of Workbench (which works), I get the following response:  
[
  {
    "message": "Session expired or invalid",
    "errorCode": "INVALID_SESSION_ID"
  }
]

My understanding from my reading is that there is a some configuration missing.


User-added image
 
Best Answer chosen by Simon Eisner 8
Akshit HuriaAkshit Huria
Hi

create>>Apps>>scroll down to new connected app

User-added image

copy client id and client secret

User-added image

Now use OAuth 2.0 steps to get CODE and then TOKEN

Thank You
Akshit

All Answers

Akshit HuriaAkshit Huria
Hi

create>>Apps>>scroll down to new connected app

User-added image

copy client id and client secret

User-added image

Now use OAuth 2.0 steps to get CODE and then TOKEN

Thank You
Akshit
This was selected as the best answer
Simon Eisner 8Simon Eisner 8
Thanks Akshit!