Installing SpiceDB on Ubuntu or Debian
# spicedb
c
Thanks. I think I need to change my question. After having [SpiceDb](https://authzed.com/docs/spicedb/getting-started/install/debian) and [Zed](https://authzed.com/docs/spicedb/getting-started/installing-zed) installed, what is my next step? I don't know if SpiceDb is the same as Postgres where I need to start it as a service. Baiscally all I know is I have installed something called SpiceDb and then I am lost as there is no guide/instructions following the installation. I thought Protecting a Blog Application a THE hello world but it is not the case to me.
y
is running SpiceDB the missing piece?
the idea is that you'd run an instance of SpiceDB using the binary or docker or whatever, configure
zed
to talk to it, and then move through the rest of the tutorial
if I need a quick instance, i typically do this:
Copy code
docker run --rm -p 50051:50051 authzed/spicedb serve --grpc-preshared-key "something"
that runs SpiceDB using its in-memory datastore. the upside is that it's easy to invoke and doesn't require me to run a separate backing datastore (such as postgres); the downside is that the relations don't persist when i ctrl-C out of the command.
your question is a good one, btw - i agree that this is something that could be clarified in this part of the documentation
c
I didn't look into the docker installation(it doesn't have anyting either in the Docker section) but at least in the link I mentioned, there is no instruction for running the instance.
y
yes, agreed
does what i wrote here solve your problem, though?
like if i were to go and document that, would it have unblocked you if it was ther?
c
Yes, by following your instructions, I will have a running instance of spicedb with the following condition. 1. I have to use docker 2. I am assumed to have --grpc-preshared-key "something" ready. Both of the conditions are not true for me at this moment.
y
gotcha. yep, i'll add that.
c
How do I get a preshared key? I can't seem to find this in the guide.
y
you set it
the key you set with
--grpc-preshared-key
just needs to match the key that you're sending from the client/zed