Automated Salesforce Login

0 votes
I created a small Python program to open Salesforce and update several fields.

The problem I'm facing is that I've hard coded my login credentials, which means I'll have to replace them every time my password changes. I see it is possible to log in using a consumer key and private key. Will this solve my problem and where do I get my consumer key and private key?
Mar 14, 2022 in SalesForce by surbhi
• 3,810 points
305 views

1 answer to this question.

0 votes

Take a look at this:

Go to https://development.salesforce.com and log in to the developer site > Get Salesforce KEY and SECRET. Click "Your Name" in the upper right corner to expand the drop-down menu, then click My Developer Account and log in to your developer account > Click "Your Name" in the upper right corner to expand the drop-down menu, then click Setup > Find the Build section in the left column, then click Create in the lower right corner to expand the hidden menu > Locate and select Apps from the hidden menu (not in the right column) > Locate the Connected Apps area at the bottom of the right column, then select New > To obtain Keys, fill up the required information.

Hope this helps!

Check out Salesforce Training here to learn more.

Thanks!

answered Mar 15, 2022 by CoolCoder
• 4,400 points

edited Jun 19, 2023 by Khan Sarfaraz

Related Questions In SalesForce

0 votes
0 answers

How to take test.salesforce.com while deployment as salesforce login url for api connection logic app?

In logic app i'm using salesforce connector after deployment ...READ MORE

Mar 1, 2022 in SalesForce by surbhi
• 3,810 points
824 views
0 votes
1 answer

How to take test.salesforce.com while deployment as salesforce login url for api connection logic app?

you are not passing the parameterValues, use ...READ MORE

answered Mar 2, 2022 in SalesForce by surbhi
• 3,810 points
762 views
0 votes
0 answers

Login into Salesforce android application using Trailhead account

I am beginner in salesforce. I am ...READ MORE

Mar 3, 2022 in SalesForce by surbhi
• 3,810 points
418 views
0 votes
1 answer

How to take test.salesforce.com while deployment as salesforce login url for api connection logic app?

You are not passing the parameterValues, use ...READ MORE

answered Mar 9, 2022 in SalesForce by CoolCoder
• 4,400 points
580 views
+2 votes
2 answers

Salesforce Interview questions

Here are some questions very important for ...READ MORE

answered Jan 11, 2019 in Career Counselling by Suresh
• 720 points
2,772 views
0 votes
1 answer

How to connect to salesforce from tableau?

Hi, follow these steps to connect to Salesforce: 1. ...READ MORE

answered Mar 25, 2019 in Tableau by Cherukuri
• 33,030 points
746 views
0 votes
1 answer

Power BI - Salesforce

Hi, Follow below steps: 1. Go to Data source. 2. ...READ MORE

answered Mar 25, 2019 in Power BI by Cherukuri
• 33,030 points
486 views
0 votes
2 answers

What is the best training for Salesforce ADM-201 Exam?

Hi @Vardhan, I took Edureka's Salesforce Online Training, ...READ MORE

answered Jun 3, 2021 in Others by Jaya
• 140 points

edited Dec 22, 2021 by Soumya 546 views
0 votes
1 answer

Cannot login to Salesforce Sandbox via python API

Set domain='test' and generate a new token ...READ MORE

answered Mar 1, 2022 in SalesForce by CoolCoder
• 4,400 points
1,429 views
0 votes
1 answer

Salesforce Lightning - Login Failure In Staging

https://test.salesforce.com versus https://login.salesforce.com. Even if you use ...READ MORE

answered Mar 9, 2022 in SalesForce by CoolCoder
• 4,400 points
550 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP