import React from 'react'; import { observer } from 'mobx-react'; import { Flex } from 'reflexbox'; import { Input, ButtonOutline, InlineForm } from 'rebass'; import Layout, { Title } from 'components/Layout'; import CenteredContent from 'components/CenteredContent'; import SlackAuthLink from 'components/SlackAuthLink'; import ApiKeyRow from './components/ApiKeyRow'; import styles from './Settings.scss'; import SettingsStore from './SettingsStore'; @observer class Settings extends React.Component { static store; constructor(props) { super(props); this.store = new SettingsStore(); } onKeyCreate = (e) => { e.preventDefault(); this.store.createApiKey(); } render() { const title = (
Connect Atlas to your Slack to instantly search for your documents
using /atlas
command.
Create API tokens to hack on your Atlas. Learn more in API documentation.
{ this.store.apiKeys && (