Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: docs changes #238

Merged
merged 8 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 20 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,11 @@ While the Unified Checkout is pre-optimized for maximum conversions, it does not
<h2 id="Quick Start Guide">⚡️ Quick Start Guide</h2>
</a>

<a href="https://app.hyperswitch.io/register"><img src="./docs/imgs/signup-to-hs.svg" height="35"></a>

Ways to get started with Hyperswitch:

- Try it in our Sandbox Environment: Fast and easy to
start.
- Try it in our Sandbox Environment: Fast and easy to start.

<a href="https://app.hyperswitch.io/register"><img src="./docs/imgs/get-api-keys.svg" height="35"></a>
<a href="https://app.hyperswitch.io/register" target="_blank"><img src="./docs/imgs/get-api-keys.svg" height="35"></a>

- Install in your local system: Configurations and setup required in your system. Suitable if you like to customise the core offering, [learn more](https://github.com/juspay/hyperswitch/blob/main/docs/try_local_system.md)

Expand Down Expand Up @@ -122,10 +119,26 @@ This step will prompt you to enter 2 details -

### About Env Configs

For ease of development and deployment there are configs in /Hyperswitch-react-demo-app/.env
For ease of development and deployment there are configs in /Hyperswitch-react-demo-app/.env -

#### How to Find Hyperswitch Publishable Key and API Key

To integrate Hyperswitch into your project, follow these steps:

1. **Register**: Begin by registering at [Hyperswitch](https://app.hyperswitch.io/register) to gain access to your dashboard.

2. **Access Your Dashboard**: Once logged in, navigate to your dashboard's home page.

3. **Find Your Keys**: In the sidebar, locate the "Developers" section, then click on [API Keys](https://app.hyperswitch.io/developer-api-keys). Here, you can generate your API Key. Additionally, your Publishable Key is available within the same section.

4. **Integration**: After obtaining your keys, add them to your project's environment variables or configuration file for seamless integration.

The above method is for using our Sandbox Environment.

If you are running our backend locally, you can use our [Postman Collection](https://github.com/juspay/hyperswitch/blob/main/docs/try_local_system.md#try-out-our-apis) for generating the API Key and Publishable Key.

- `HYPERSWITCH_PUBLISHABLE_KEY` - Publishable key of your Hyperswitch Account
- `HYPERSWITCH_SECRET_KEY` - Api key of your Hyperswitch Account
- `HYPERSWITCH_SECRET_KEY` - API key of your Hyperswitch Account
- `HYPERSWITCH_SERVER_URL` - URL of your hosted Hyperswitch Backend server
- `HYPERSWITCH_CLIENT_URL` - URL of your hosted Hyperswitch SDK
- `SELF_SERVER_URL` - URL of your node server (/Hyperswitch-react-demo-app/server.js)
PritishBudhiraja marked this conversation as resolved.
Show resolved Hide resolved
Expand Down
15 changes: 0 additions & 15 deletions docs/imgs/signup-to-hs.svg

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"re:clean": "rescript clean",
"re:start": "rescript build -w",
"re:format": "rescript format -all",
"start:dev": "npm run re:start & npm run start",
"start:dev": "npm run re:start && npm run start",
"start:playground": "npm run postinstall && cd Hyperswitch-React-Demo-App && node promptScript.js && npm run start",
"build:playground": "npm run postinstall && cd Hyperswitch-React-Demo-App && node promptScript.js && npm run build",
"prepare": "husky install",
Expand Down
Loading