How can i create a new plugin for my ue4 project c++

How can i create a new plugin for my ue4 project c++
i need use it for connect my database