Skip to content

Commit

Permalink
chore: add sdk api key note (#3248)
Browse files Browse the repository at this point in the history
  • Loading branch information
dabeeeenster authored Jan 8, 2024
1 parent 1885daf commit 91cef60
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions frontend/web/components/pages/AccountSettingsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import ConfirmDeleteAccount from 'components/modals/ConfirmDeleteAccount'
import Icon from 'components/Icon'
import PageTitle from 'components/PageTitle'
import { Link } from 'react-router-dom'
import InfoMessage from 'components/InfoMessage'

class TheComponent extends Component {
static displayName = 'TheComponent'
Expand Down Expand Up @@ -311,21 +312,29 @@ class TheComponent extends Component {
</div>
</TabItem>
<TabItem tabLabel='Keys'>
<div className='mt-4'>
<div className='mt-6'>
<div className='col-md-6'>
<h5>API Token</h5>
<p className='fs-small lh-sm'>
You can use this token to integrate with our RESTful
API, the documentation can be found{' '}
<InfoMessage>
<p>
You can use this token to securely integrate with the private endpoints of our {' '}
<Button
theme='text'
href='https://api.flagsmith.com/api/v1/docs/'
href='https://docs.flagsmith.com/clients/rest#private-api-endpoints'
target='_blank'
className='fw-normal'
>
here
RESTful API
</Button>
.
</p>
<p>
This key should <strong>not</strong> be used directly with our SDKs.
To configure the Flagsmith SDK, go to the Environment settings page and
copy the Environment key from there.
</p>
</InfoMessage>
<p className='fs-small lh-sm'>
</p>
</div>
<div className='col-md-6'>
Expand Down

3 comments on commit 91cef60

@vercel
Copy link

@vercel vercel bot commented on 91cef60 Jan 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 91cef60 Jan 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./docs

docs-flagsmith.vercel.app
docs-git-main-flagsmith.vercel.app
docs.flagsmith.com
docs.bullet-train.io

@vercel
Copy link

@vercel vercel bot commented on 91cef60 Jan 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.