# Quickstart

### [1. Register & Connect](#id-1.-register-and-connect)

1. **Login/Register**
   * Click on **"Login/Register"** on the homepage.
   * Use your **Google Account** to sign in or create a new account.
2. **Connect MetaMask**
   * Open your **MetaMask Wallet** and connect it to the platform.
   * Ensure MetaMask is on the correct blockchain network you want to use (e.g., Binance Smart Chain or Polygon).

***

### [2. Create Your Business](https://scribe-pay.gitbook.io/scribe-pay-docs/basics/register-business#create-your-business)

1. Go to the **"Business"** page and click **"Create Business"**.
2. Enter:
   * **Business Name**
   * **Logo**
   * **Supported Blockchain (e.g., BNB Chain, Polygon)**
   * **Tokens**: Add native tokens (e.g., BNB, MATIC) and stablecoins (e.g., USDT, USDC).
3. Confirm the wallet address for the business (this can differ from your user wallet).
4. Save your business.

***

### [3. Activate Your Business](https://scribe-pay.gitbook.io/scribe-pay-docs/basics/register-business#activate-a-business) <a href="#register-business" id="register-business"></a>

1. By default, new businesses are inactive.
2. Go to the **Business** page, select your business card, and click **"Activate"**.
3. Once activated, your business is ready to accept payments.

***

### [4. Manage Your Business](https://scribe-pay.gitbook.io/scribe-pay-docs/basics/register-business#manage-your-business)

* **Update Business Details**: Change the name, logo, or other settings anytime.
* **Add/Remove Tokens**: Customize the tokens your business supports.
* **Add More Chains**: Expand your business to support additional blockchain networks.

***

### [5. **Using the SDK**](https://scribe-pay.gitbook.io/scribe-pay-docs/basics/sdk)

Easily integrate your application using our SDK.

#### **Installation**

```bash
npm install scribe-sdk
```

#### **Basic Example**

```javascript
import { ethers } from "ethers";
import { Payment } from "scribepay-sdk/src";
import { useEffect, useState } from "react";

const Transactions = () => {
  const [provider, setProvider] = useState<ethers.BrowserProvider | undefined>(
    undefined
  );
  const currentTime = Math.floor(Date.now() / 1000);
  const timePlus3Minutes = currentTime + 3 * 60;
  
  const providerConfig: ProviderConfig = {
    apiKey: "xxxxxxxxxxxxxxxxxxxxxxxx"
  };
  const { businessData: bss } = useInitializeSDK(providerConfig);

  return (
    <div>
      <Payment
        amount="0.01" // Amount in Fiat
        expectedDelivery={timePlus3Minutes}
        theme="dark"
        fromCurrency="USD" //Currency Code 
      />
    </div>
  );
};

export default Transactions;
```

***

### [6. **How it Works**](https://scribe-pay.gitbook.io/scribe-pay-docs/basics/integrations)

Our platform provides a simple flow for managing blockchain businesses:

1. **Onboarding**: Register with Google and connect your wallet via MetaMask.
2. **Business Creation**: Set up your business with a wallet, chain, and tokens.
3. **Activation**: Activate your business to start accepting payments.
4. **Transactions**: Customers pay using supported tokens directly through MetaMask.

This system is designed for flexibility, supporting:

* Multi-chain businesses.
* Customizable tokens for payments.
* Decentralized, secure transactions.

#### That’s It!

You’re now ready to create and manage your business seamlessly. For advanced features, visit the Detailed Guide.
