Clean and wash the cowpea beans. Chop them as small as a half finger. If there are any tough ones, use just their seeds, Saute the onion in a pot. Add the cowpea beans and stir, Then add tomatoes and salt. Stir it once and cover it, Serve it either warm as the main dish or cold.