Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save peterlyeung/3654abb5fd3ef2fe8bac30233e8d837a to your computer and use it in GitHub Desktop.
Save peterlyeung/3654abb5fd3ef2fe8bac30233e8d837a to your computer and use it in GitHub Desktop.
Connecting Jupyter Notebook to Salesforce
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@peterlyeung
Copy link
Author

To use this to connect to salesforce, since the credentials cannot be part of the code, it must be stored as a separate file. Create a file "salesforce_login.txt", place it in the same directory as your notebook. It needs to contain your login, password, and token as applicable as 3 separate lines. Make sure there are only 3 lines and no trailing line breaks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment