Skip to content

Commit 8e2bfca

Browse files
Unstructured SaaS API subscription guide (#2341)
To test: > cd docs && make html Sections: - New User sign-up: (i) registration form, (ii) payment processing, and (iii) use API key & URL - API Account maintenance: (i) update billing, (ii) opt-in email, (iii) rotate API key, and (iv) cancel plan - Get Supports
1 parent 91b892c commit 8e2bfca

14 files changed

+169
-2
lines changed

Diff for: CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## 0.11.8
2+
3+
### Enhancements
4+
5+
* **Add SaaS API User Guide.** This documentation serves as a guide for Unstructured SaaS API users to register, receive an API key and URL, and manage your account and billing information.
6+
7+
### Features
8+
9+
10+
### Fixes
11+
12+
113
## 0.11.7
214

315
### Enhancements

Diff for: docs/source/api.rst

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ NOTE: Currently, the pipeline is capable of recognizing the file type and choosi
2525
.. toctree::
2626
:maxdepth: 1
2727

28+
apis/saas_api
2829
apis/api_sdks
2930
apis/usage_methods
3031
apis/azure_marketplace

Diff for: docs/source/apis/azure_marketplace.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Before you click ``Review + create`` button, go to **Networking** tab and follow
7575

7676
- Load balancing
7777
- **Load balancing option**: Select ``Azure load balancer``
78-
- **Select a load balancer**: If you have created a load balancer, select from dropdown menu, or click ``Create a load balancer` and fill out the following fields in the pop-up window.
78+
- **Select a load balancer**: If you have created a load balancer, select from dropdown menu, or click ``Create a load balancer`` and fill out the following fields in the pop-up window.
7979
- Enter **Load balancer name**
8080
- **Type**: Select ``Public`` or ``Internal``
8181
- **Protococl**: Select ``TCP`` or ``UDP``

Diff for: docs/source/apis/imgs/paid_api/Opt-in.png

60.9 KB
Loading

Diff for: docs/source/apis/imgs/paid_api/api_signup.png

262 KB
Loading

Diff for: docs/source/apis/imgs/paid_api/cancel_plan.png

42.5 KB
Loading

Diff for: docs/source/apis/imgs/paid_api/rotate_key.png

51.7 KB
Loading

Diff for: docs/source/apis/imgs/paid_api/sample_output.png

213 KB
Loading

Diff for: docs/source/apis/imgs/paid_api/stripe_email.png

77.4 KB
Loading

Diff for: docs/source/apis/imgs/paid_api/support.png

353 KB
Loading

Diff for: docs/source/apis/imgs/paid_api/update_billing.png

54.8 KB
Loading

Diff for: docs/source/apis/imgs/paid_api/welcome_email.png

212 KB
Loading

Diff for: docs/source/apis/saas_api.rst

+154
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
SaaS API Deployment Guide
2+
=========================
3+
4+
This documentation serves as a guide for Unstructured SaaS API users to register, receive an API key and URL, and manage your account and billing information. It contains all the necessary instructions and resources to facilitate a smooth setup and deployment process of Hosted API on Unstructured infrastructure.
5+
6+
7+
New User Sign-up
8+
----------------
9+
10+
1. Navigate to the `Unstructured SaaS API <https://unstructured.io/api-key-hosted>`_ page on our website.
11+
2. Fill out the registration form with your details:
12+
13+
- **First Name**: Enter your given name.
14+
- **Last Name**: Enter your family or surname.
15+
- **Email**: Provide a valid email address where we can send you confirmations and communications.
16+
- **Company**: Enter the name of your company or organization.
17+
18+
3. Optional Preferences:
19+
20+
- Check the box to sign up for future marketing emails and product updates.
21+
- Check the box to sign up for weekly usage usage emails.
22+
23+
4. Terms and Conditions:
24+
25+
- Read and accept our terms and conditions by checking the appropriate box to proceed.
26+
27+
5. Click the "Sign Up" button to create your account.
28+
29+
.. image:: imgs/paid_api/api_signup.png
30+
:align: center
31+
:alt: Sign Up Form
32+
33+
34+
Email Confirmation and Payment Processing
35+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
36+
37+
6. Upon successful sign-up, you will receive an email from Stripe.
38+
39+
- There will be a small initiation fee for all new subscriptions. This one-time fee will be charged to your credit card to enable automatic billing.
40+
7. Click the "Pay this invoice" button in the email and follow the instructions to enter your payment details securely on Stripe website.
41+
8. Confirm the payment to complete this process. Look out for any confirmation prompts or messages that signify a successful transaction.
42+
43+
- Note that we don't send out a receipt. If you want to keep a receipt, click the "Download invoice" button after completing the payment on Stripe.
44+
45+
.. image:: imgs/paid_api/stripe_email.png
46+
:align: center
47+
:alt: Stripe Email
48+
49+
50+
Using the API Key and URL
51+
^^^^^^^^^^^^^^^^^^^^^^^^^
52+
53+
1. After your payment is processed, you will receive an email from ``Unstructured`` containing your unique **API KEY** and **URL**.
54+
2. Check your inbox (and the spam folder, just in case) for an email from our domain.
55+
3. Save these credentials securely, as you will need them to access and integrate our API with your applications.
56+
57+
.. image:: imgs/paid_api/welcome_email.png
58+
:align: center
59+
:alt: Welcome Email
60+
61+
Example: Parsing a Document
62+
^^^^^^^^^^^^^^^^^^^^^^^^^^^
63+
64+
Please refer to the sample code and output provided below to begin processing documents with your SaaS API.
65+
66+
.. code-block:: bash
67+
68+
curl -X 'POST' 'https://<REPLACE WITH THE URL IN THE EMAIL>'
69+
-H 'accept: application/json'
70+
-H 'Content-Type: multipart/form-data'
71+
-H 'unstructured-api-key: <REPLACE WITH API KEY IN THE EMAIL>'
72+
-F 'files=@sample-docs/family-day.eml'
73+
74+
.. image:: imgs/paid_api/sample_output.png
75+
:align: center
76+
:alt: Sample Output
77+
78+
79+
SaaS API Account Maintenance
80+
-----------------------------
81+
82+
Opt-in to Usage Emails
83+
^^^^^^^^^^^^^^^^^^^^^^
84+
85+
To receive regular updates on usage statistics, please follow these steps:
86+
87+
1. From the `Unstructured SaaS API <https://unstructured.io/api-key-hosted>`_ webpage, navigate to FAQ section and click the "Subscribe to Usage Updates" link.
88+
2. Enter your email address in the provided field.
89+
3. Click the "Submit" button to complete the subscription process.
90+
91+
You will start receiving the weekly usage email after your submit the form. To opt-out from the email subscription, please contact our Support team at `[email protected] <mailto:[email protected]>`_.
92+
93+
.. image:: imgs/paid_api/opt-in.png
94+
:align: center
95+
:alt: Opt-in Email
96+
97+
Update Payment Method
98+
^^^^^^^^^^^^^^^^^^^^^
99+
100+
If you need to update your billing information, fill out the "Update Billing" form.
101+
102+
1. From the `Unstructured SaaS API <https://unstructured.io/api-key-hosted>`_ webpage, navigate to FAQ section and click the "Update Payment Method" link.
103+
2. Enter your email address in the provided field.
104+
3. Click the "Submit" button to complete the subscription process.
105+
106+
Upon successful form submission, you will be redirected to the Stripe payment page. Follow the instructions to enter your payment details securely. Confirm the payment to complete this process.
107+
108+
Please note that there will be a nominal fee charged to your credit card to verify the payment method. Stripe will refund this fee once the new payment method is confirmed. You will receive a confirmation email about the refund. We will use this new payment method for your next invoices.
109+
110+
.. image:: imgs/paid_api/update_billing.png
111+
:align: center
112+
:alt: Update Billing
113+
114+
Cancel Plan
115+
^^^^^^^^^^^
116+
117+
To cancel your current plan, please complete the following steps:
118+
119+
1. From the `Unstructured SaaS API <https://unstructured.io/api-key-hosted>`_ webpage, navigate to FAQ section and click the "Cancel Plan" link.
120+
2. When the pop-up form appears, provide your registered **Email** in the first field.
121+
3. Enter your **Current API Key** in the following field.
122+
4. Click the **Submit** button to send your cancellation request.
123+
124+
Upon submission, our team will process your request, and you will receive a confirmation email regarding the cancellation of your plan.
125+
126+
.. note:: Please contact our Support team at `[email protected] <mailto:[email protected]>`_, if you need to re-register Unstructured SaaS API using the same email address after you cancel your plan.
127+
128+
129+
.. image:: imgs/paid_api/cancel_plan.png
130+
:align: center
131+
:alt: Cancel Plan
132+
133+
Rotate a New API Key
134+
^^^^^^^^^^^^^^^^^^^^
135+
136+
If you need to rotate your API key for security reasons or API key regeneration, follow these steps:
137+
138+
1. From the `Unstructured SaaS API <https://unstructured.io/api-key-hosted>`_ webpage, navigate to FAQ section and click the "Get a new API Key" link.
139+
2. Type your registered **Email** address in the corresponding input field.
140+
3. Provide your **Current API Key** in the specified field.
141+
4. Press the **Submit** button to initiate the API key rotation process.
142+
143+
Once you submit the form, our system automatically generates a new API key and deactivates the old one. You will receive the new API key at your registered email address. Be sure to update your applications with the new API key to maintain access to the API services.
144+
145+
.. image:: imgs/paid_api/rotate_key.png
146+
:align: center
147+
:alt: Rotate API Key
148+
149+
150+
Get Support
151+
-----------
152+
153+
1. Navigate to FAQ section on `Unstructured SaaS API <https://unstructured.io/api-key-hosted>`_ webpage.
154+
2. For any other assistance or queries, please get in touch with our Support team at `[email protected] <mailto:[email protected]>`_.

Diff for: unstructured/__version__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.11.7" # pragma: no cover
1+
__version__ = "0.11.8" # pragma: no cover

0 commit comments

Comments
 (0)