Create your Chart Developer Account, recieve your application credentials, and pilot how Chart works.
client_id
and client_secret
) and pilot how Chart works.
client_id
and client_secret
.
You will use these credentials to authenticate your application to obtain access tokens in order to call the Chart APIs.client_id
, client_secret
, and future access_token
s
to prevent unauthorized access. Here are some methods to securely store these credentials: - Environment Variables: Store your client_id
and client_secret
as environment variables within your application.
When your application needs to use these credentials, it can access them from the environment variables
without exposing them in your source code. - Secure Database: Store the access tokens in a secure database with proper encryption and access controls in place.
Make sure to use a database that supports encryption at rest and in transit to ensure the security of the stored tokens. - Secrets Management Solutions: Utilize a specialized secrets management solution, such as HashiCorp Vault or AWS Secrets Manager.
These tools provide additional layers of security, access control, and auditing capabilities
to ensure the safe storage of your client_id
, client_secret
, and access_token
. - When storing access tokens, also store any relevant metadata, such as the associated user ID.
This will help you maintain data integrity and prevent mixing up tokens across different users.
This topic is covered in more detail in Store Tokens.https://your-trusted-domain.com/api/chart/callback
code
query parameter
that must be exchanged with Chart’s authorization server for an access token.
Chart’s embedded Frontend SDKs don’t need to set up a redirect URI.
The default redirect URI https://trychart.com
is already applied.
The redirect URIs must match one of the following formats—
Protocol | Format | Examples |
---|---|---|
HTTP | A localhost URI with protocol http:// | http://localhost:8000 |
HTTPS | A URI with protocol https:// | https://example.com |
client_id
and client_secret
. You now
have everything necessary to Set Up Chart
Connect to begin connecting to
tax providers.