// @flow
import React from 'react';
import { observer } from 'mobx-react';
import Flex from 'components/Flex';
import ApiKeyRow from './components/ApiKeyRow';
import styles from './Settings.scss';
import SettingsStore from './SettingsStore';
import Button from 'components/Button';
import Input from 'components/Input';
import CenteredContent from 'components/CenteredContent';
import SlackAuthLink from 'components/SlackAuthLink';
import PageTitle from 'components/PageTitle';
@observer class Settings extends React.Component {
store: SettingsStore;
constructor() {
super();
this.store = new SettingsStore();
}
render() {
const showSlackSettings = DEPLOYMENT === 'hosted';
return (
Connect Atlas to your Slack to instantly search for your documents
using
Create API tokens to hack on your Atlas.
Learn more in API documentation.
Slack
/atlas
command.
API access
{this.store.apiKeys &&
this.store.apiKeys.map(key => (
}