You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(readme): Complete README with full deployment steps
This commit brings the Python project's README.md to full documentation parity with the Node.js version.
The previous version of the README referred to the Node.js documentation for deployment and setup instructions, which did not meet the goal of creating a complete, standalone starter project.
This update replaces the incomplete sections with full, explicit, and Python-specific instructions for:
- Manual Heroku Deployment
- Heroku AppLink Setup, including connecting to Salesforce and publishing the application.
The Python project now serves as a true, self-contained guide for developers.
The Heroku AppLink Python app template is a [FastAPI](https://fastapi.tiangolo.com/) web application that demonstrates how to build APIs for Salesforce integration using Heroku AppLink. This template includes authentication, authorization, and API specifications for seamless integration with Salesforce, Data Cloud, and Agentforce.
5
+
The Heroku AppLink Python app template is a [FastAPI](https://fastapi.tiangolo.com/) web application that demonstrates how to build APIs for Salesforce integration using Heroku AppLink. This template includes authentication, authorization, and API specifications for seamless integration with Salesforce and Data Cloud.
6
6
7
7
## Table of Contents
8
8
@@ -12,8 +12,6 @@ The Heroku AppLink Python app template is a [FastAPI](https://fastapi.tiangolo.c
(Instructions for `heroku salesforce:connect`, `heroku salesforce:authorizations:add`, and `heroku salesforce:publish` are identical to the Node.js version and can be referenced from the official documentation.)
163
+
### 1. Install AppLink CLI Plugin
164
+
165
+
```bash
166
+
# Install the AppLink CLI plugin
167
+
heroku plugins:install @heroku-cli/plugin-applink
168
+
```
169
+
170
+
### 2. Connect to Salesforce Org
171
+
172
+
```bash
173
+
# Connect to a production org (replace your-addon-name and your-app-name)
174
+
heroku salesforce:connect production-org --addon your-addon-name -a your-app-name
175
+
176
+
# Connect to a sandbox org
177
+
heroku salesforce:connect sandbox-org --addon your-addon-name -a your-app-name --login-url https://test.salesforce.com
178
+
```
179
+
180
+
### 3. Authorize a User
181
+
182
+
```bash
183
+
# Authorize a Salesforce user for API access
184
+
heroku salesforce:authorizations:add auth-user --addon your-addon-name -a your-app-name
185
+
```
186
+
187
+
### 4. Publish Your App
188
+
189
+
```bash
190
+
# Publish the app to Salesforce as an External Service
0 commit comments