Thanks all the information. Would it be better to use amd ryzen with built in graphics or intel with built in graphics?
I read that i would only need a graphics card to install it then i can remove it since freenas is run by my ip address in read browser. Is this information correct?
Well, the problem here is the mainboard.
Newcomers to FreeNAS have often never been faced with issues you are now facing, and one of them is "choice of mainboard". If you are coming here from the desktop or gaming worlds, you may understand the difference between a desktop mainboard and a gaming mainboard. Similarly, there are "workstation" and "server" mainboards.
Server mainboards are optimized for the task of being a server, and one of the interesting things about them is that because they typically offer IPMI, they have their own built in VGA (not GPU) graphics card. This means that you can take a non-"built-in-graphics" CPU such as an E3-1230 CPU, put it on a mainboard like an X9SCM, and you nevertheless get a video output. It isn't generated by the CPU, but rather by a cheap VGA card built into the mainboard.
There are two classes of people on the forum who obsess over "built in graphics". One of them are the people who have a legitimate server need for it, such as for Plex transcoding. The other are the people who are not aware of server boards, or are intent on mis-purposing a desktop/gaming board as a "server".
The correct answers to your question really depend on which one of these kinds of folks you are.
Why are you interested in the built-in graphics? What is your use case?
For a nice Ryzen experience that doesn't require built-in graphics, some people like the ASRock Rack X470D4U
For a nice Intel experience that doesn't require built-in graphics, some people like the Supermicro X11SSH line of boards.
These are far from the only available options.
So to circle around here:
freenas is run by my ip address in read browser. Is this information correct?
FreeNAS can totally be managed in that manner, yes. However, many non-server mainboards will freak if they do not have an obvious VGA/video/keyboard attached, so you may not be able to get into FreeNAS to begin with. You really need to pick parts that are capable of getting you there.