Skip to main content

Create your account

To integrate your application with our platform, you need to create a partner account

Make sure to enter details correctly as this will be displayed to users during the sign up phase.

Applications

Once you have created your account, you will need to generate your PartnerId and ParterSecret keys, known as the Application Access token. These are created per application created on Subscripto. You can use the application setting modal to generate these.

Applications Properties


SUBSCRIPTO_CLIENT_ID=019967ac-b2ce-7231-92c4-592e2da195c0
SUBSCRIPTO_CLIENT_SECRET=6rrRw9h0pFrAB5MbX5gR4A2lMJgEykMRYxepVrBE
SUBSCRIPTO_REDIRECT_URI=https://yourapp.com/auth/subscripto/callback
SUBSCRIPTO_OAUTH_SERVER_URL=http://localhost:8000
SUBSCRIPTO_SCOPE="app_provider_billing account_details"

We have

PropertyDescription
SUBSCRIPTO_CLIENT_IDYour Client ID that indicate the application
SUBSCRIPTO_CLIENT_SECRETThe Client Secret for your application
SUBSCRIPTO_REDIRECT_URIWhere should our OAuth server redirect to
SUBSCRIPTO_OAUTH_SERVER_URLThe OAuth server - usually subscripto's server auth.getsubscripto.com
SUBSCRIPTO_SCOPEThis is the scope of access you application will request from the user
ParagraphText

Applications scope permissions

Permissions lets you request information from Subscripto about the user they have given to us. Some permission relates to features such as enabling metered billing/confirmation, In-app billing. Other permission relate to sharing data such as Email, Telephone number. You can indicate some requested permission as optional, to ensure that users can proceed if they feel the need not to share such information

PermissionDescription
emailRequest that the user shares their email address when signing up. This could be for emails from your application
phone_numberRequest that the user shares their phone number. This can be for notification via your application
account_details
biling_in_app_billing
billing_metered_billing

Add Markdown or React files to src/pages to create a standalone page:

  • src/pages/index.jslocalhost:3000/
  • src/pages/foo.mdlocalhost:3000/foo
  • src/pages/foo/bar.jslocalhost:3000/foo/bar

Create your first React Page

Create a file at src/pages/my-react-page.js:

src/pages/my-react-page.js
import React from 'react';
import Layout from '@theme/Layout';

export default function MyReactPage() {
return (
<Layout>
<h1>My React page</h1>
<p>This is a React page</p>
</Layout>
);
}

A new page is now available at http://localhost:3000/my-react-page.

Create your first Markdown Page

Create a file at src/pages/my-markdown-page.md:

src/pages/my-markdown-page.md
# My Markdown page

This is a Markdown page

A new page is now available at http://localhost:3000/my-markdown-page.